summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2014-10-14 12:39:54 +0300
committerTapani Pälli <[email protected]>2014-10-20 11:07:12 +0300
commit953a0af8e3f73ce0a42a5dc2bf25355453d7a7b0 (patch)
tree2aa9ea782bc430258590c7f516725218598a1feb /src/mesa/main/texgen.h
parent01d94193ac34239cc96e3f4aab7df0e37a82eb31 (diff)
mesa: validate sampler uniforms during gluniform calls
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 boolean variable is introduced to cache validation state. v2: take into account case where 2 uniforms use same unit (curro) also do the check only when SSO is not in use, SSO has own path for sampler validation. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.h')
0 files changed, 0 insertions, 0 deletions