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

2014-10-20 Thread Francisco Jerez
Tapani Pälli writes: > Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance > test suite. No Piglit regressions, fixes gl-2.0-active-sampler-conflict. > > To avoid adding potentially heavy check during draw (valid_to_render), > check is done during uniform updates by inspecting

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

2014-10-15 Thread Tapani Pälli
Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance test suite. No Piglit regressions, fixes gl-2.0-active-sampler-conflict. To avoid adding potentially heavy check during draw (valid_to_render), check is done during uniform updates by inspecting TexturesUsed mask. A new boole