Re: [Mesa-dev] [PATCH] gallium: make image views non-persistent objects

2016-01-19 Thread Ilia Mirkin
On Tue, Jan 19, 2016 at 10:42 AM, Nicolai Hähnle wrote: > On 18.01.2016 22:08, Ilia Mirkin wrote: >> >> Make them akin to shader buffers, with no refcounting/etc. Just used to >> pass data about the bound image in ->set_shader_images. >> >> Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH] gallium: make image views non-persistent objects

2016-01-19 Thread Marek Olšák
On Tue, Jan 19, 2016 at 4:42 PM, Nicolai Hähnle wrote: > On 18.01.2016 22:08, Ilia Mirkin wrote: >> >> Make them akin to shader buffers, with no refcounting/etc. Just used to >> pass data about the bound image in ->set_shader_images. >> >> Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH] gallium: make image views non-persistent objects

2016-01-19 Thread Nicolai Hähnle
On 18.01.2016 22:08, Ilia Mirkin wrote: Make them akin to shader buffers, with no refcounting/etc. Just used to pass data about the bound image in ->set_shader_images. Signed-off-by: Ilia Mirkin --- I don't really see a reason why these were refcounted objects. It seems

Re: [Mesa-dev] [PATCH] gallium: make image views non-persistent objects

2016-01-19 Thread Roland Scheidegger
FWIW why exactly are pipe_sampler_view and pipe_surface ref counted? These are all the same too from a high level perspective. I guess though there'd be significant effort to change that... Roland Am 19.01.2016 um 04:08 schrieb Ilia Mirkin: > Make them akin to shader buffers, with no

[Mesa-dev] [PATCH] gallium: make image views non-persistent objects

2016-01-18 Thread Ilia Mirkin
Make them akin to shader buffers, with no refcounting/etc. Just used to pass data about the bound image in ->set_shader_images. Signed-off-by: Ilia Mirkin --- I don't really see a reason why these were refcounted objects. It seems like it would be convenient to make these