diff options
author | Ilia Mirkin <[email protected]> | 2018-04-03 00:00:59 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2018-04-07 16:45:00 -0400 |
commit | 90bb2d7152ba63e1592e3c1aabc69386a10f2d89 (patch) | |
tree | 15df1d4277714b4d0fc89930b0ff55c6208b4988 /src/gallium/drivers/nouveau | |
parent | 2a2b22e9b16dc57c4685a4081bab01cced2671d5 (diff) |
st/mesa: tex offsets can't be in a const or 2d-indexed
All consts are now implicitly 2d (they set .Dimension), so trigger
asserts. Also, the texture offset can't handle any sort of 2d indexing.
While this could be tacked on, this seems unnecessary, just move it off
into a separate temp.
Fixes assertion failure in
tests/spec/arb_gpu_shader5/compiler/builtin-functions/fs-gatherOffset-uniform-offset.frag
Note that this was an issue even before the const-always-2d thing, since
there was no detection of when even a proper second dimension was used,
e.g. for UBO or geom/tess inputs.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
0 files changed, 0 insertions, 0 deletions