diff options
author | Samuel Pitoiset <[email protected]> | 2016-05-22 22:39:31 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-05-22 23:06:16 +0200 |
commit | a7fad12931a62bdd8483b68f7cccbf0ca01bcb89 (patch) | |
tree | a7234a173dc8402273559d03d8415bb1dc899e3a /src/mesa/main/queryobj.c | |
parent | cb9a51d1f6db4c5a3baa2aed309875bf2e8746bd (diff) |
nvc0/ir: fix indirect access for images
When the array doesn't start at 0 we need to account for su->tex.r.
While we are at it, make sure to avoid out of bounds access by masking
the index.
This fixes GL45-CTS.shading_language_420pack.binding_image_array.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reported-by: Dave Airlie <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/queryobj.c')
0 files changed, 0 insertions, 0 deletions