summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2015-11-20 04:49:23 +0100
committerRoland Scheidegger <[email protected]>2015-11-20 17:00:15 +0100
commit24dc0316b4d7b29e055f220b23cab7daf4698c0c (patch)
treef4933921708f451229b062ee939d7cffbddce2ee /src/gallium/include
parent9a93da4e83ee332367a0d6aa601cbcd7f59321b2 (diff)
gallivm: use sampler index 0 for texel fetches
texel fetches don't use any samplers. Previously we just set the same number for both texture and sampler unit (as per "ordinary" gl style sampling where the numbers are always the same) however this would trigger some assertions checking that the sampler index isn't over PIPE_MAX_SAMPLERS limit elsewhere with d3d10, so just set to 0. (Fixing the assertion instead isn't really an option, the sampler isn't really used but might still pass an out-of-bound pointer around and even copy some things from it.) Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/include')
0 files changed, 0 insertions, 0 deletions