aboutsummaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-03-20 13:43:43 -0400
committerIlia Mirkin <[email protected]>2016-03-20 14:14:32 -0400
commit7d98bfedd73d632041d27ff12ccf7c7be74a2ddd (patch)
tree3ae7b7eb2cfe7ccb9a64a7a14ff6e40508421bf4 /src/hgl
parentadb40a739943d62508b9c79cbd85e3c67ee3b43b (diff)
nv50/ir: fix indirect texturing for non-array textures on nvc0
If a layer parameter is provided, we want to flip it to position 0 (and combine it with any indirect params). However if the target is not an array, there is no layer, so we have to shift all of the arguments down by one to make room for it. This fixes situations where there were non-coordinate parameters, such as bias, lod, depth compare, explicit derivatives. Instead of adding a new parameter at the front for the indirect reference, we would swap one of those in its place. Fixes dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.compute.*shadow Signed-off-by: Ilia Mirkin <[email protected]> Reported-by: Samuel Pitoiset <[email protected]> Tested-by: Samuel Pitoiset <[email protected]> Cc: "11.1 11.2" <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions