Re: [Mesa-dev] [PATCH v2] softpipe: implement clear_texture

2017-02-21 Thread Roland Scheidegger
Am 21.02.2017 um 16:44 schrieb Lars Hamre: > That does seem nicer, then pipe->clear_texture could just be set to > util_clear_texture. > Tangentially, do you see anything preventing this solution being > utilized by llvmpipe? No, that should work just fine. llvmpipe doesn't do anything special for

Re: [Mesa-dev] [PATCH v2] softpipe: implement clear_texture

2017-02-21 Thread Lars Hamre
That does seem nicer, then pipe->clear_texture could just be set to util_clear_texture. Tangentially, do you see anything preventing this solution being utilized by llvmpipe? On Mon, Feb 20, 2017 at 2:31 PM, Roland Scheidegger wrote: > Am 20.02.2017 um 18:01 schrieb Lars Hamre: >> v2: rework util

Re: [Mesa-dev] [PATCH v2] softpipe: implement clear_texture

2017-02-20 Thread Roland Scheidegger
Am 20.02.2017 um 18:01 schrieb Lars Hamre: > v2: rework util clear functions such that they operate on a resource > instead of a surface (Roland Scheidegger) > > Implements the ARB_clear_texture extension for softpipe. > Passes all corresponding piglit tests. > > Signed-off-by: Lars Hamre >

[Mesa-dev] [PATCH v2] softpipe: implement clear_texture

2017-02-20 Thread Lars Hamre
v2: rework util clear functions such that they operate on a resource instead of a surface (Roland Scheidegger) Implements the ARB_clear_texture extension for softpipe. Passes all corresponding piglit tests. Signed-off-by: Lars Hamre --- CC: Roland Scheidegger NOTE: someone with access wi