summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/querymatrix.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-12-13 09:52:15 -0700
committerBrian Paul <[email protected]>2013-12-13 16:06:07 -0700
commit19fa540219fa2df3a4acdc395ca707afae8602f2 (patch)
treebd6f4aa2f102efff709ace1d8414d2f03fcf398e /src/mesa/main/querymatrix.c
parent31b0e7d02429d33a36279ddf4dbc414056aff34f (diff)
st/mesa: only set up sampler compare mode for depth textures
The GL_ARB_shadow spec says the shadow compare mode should have no effect when sampling a color texture. As it was, it was up to drivers to check for that (softpipe, llvmpipe, svga and probably the rest don't do that). Note: it looks like DX10 allows shadow compare with some non-depth formats, so this case really should be handled in the state tracker. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/main/querymatrix.c')
0 files changed, 0 insertions, 0 deletions