Re: [Mesa-dev] [PATCH] mesa: validate sampler uniforms during gluniform calls

2014-10-24 Thread Francisco Jerez
Tapani Pälli writes: > Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance > test suite, no Piglit regressions. > > To avoid adding potentially heavy check during draw (valid_to_render), > check is done during uniform updates by inspecting TexturesUsed mask. > > A new boolean

Re: [Mesa-dev] [PATCH] mesa: validate sampler uniforms during gluniform calls

2014-10-14 Thread Tapani
On 10/14/2014 03:35 PM, Francisco Jerez wrote: Tapani Pälli writes: Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance test suite, no Piglit regressions. To avoid adding potentially heavy check during draw (valid_to_render), check is done during uniform updates by inspect

[Mesa-dev] [PATCH] mesa: validate sampler uniforms during gluniform calls

2014-10-14 Thread Tapani Pälli
Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance test suite, no Piglit regressions. To avoid adding potentially heavy check during draw (valid_to_render), check is done during uniform updates by inspecting TexturesUsed mask. A new boolean variable is introduced to cache val