summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderobj.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-06 19:15:39 -0700
committerJason Ekstrand <[email protected]>2016-06-22 12:26:43 -0700
commit0195299c868ec99bc6c595c641da81bb2632252e (patch)
tree5ebf07c56cf2472c538cb3e73e2c81da4ba6ecd8 /src/mesa/main/shaderobj.c
parent1436238b75e0352439306f120ac1ca03c9fc7df3 (diff)
i965/fs: Use a default Y coordinate of 0 for TXF on gen9+
Previously, we were incrementing length but not actually putting anything in the Y coordinate. This meant that 1-D TXF operations had a garbage array index. If the surface is emitted as 1-D non-array, the coordinate gets discarded and it works fine. If it happens to be bound as an array surface, it may count as an out-of-bounds array access and you get zero. Reviewed-by: Ian Romanick <[email protected]> Cc: "11.1 11.2 12.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.c')
0 files changed, 0 insertions, 0 deletions