diff options
author | Samuel Pitoiset <[email protected]> | 2016-04-12 17:12:00 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-04-26 19:47:49 +0200 |
commit | fbeb69757c769f594d5f9340adf067a300eddc1d (patch) | |
tree | 7002d621175f893f1b96f471f860e033a1114c54 /src/compiler/glsl/test_optpass.h | |
parent | 5ba57144830f5ab9dc8044d3a6fc59dfe16f0dd2 (diff) |
nvc0/ir: prevent out of bounds when no images are bound
Checking if the image address is not 0 should be enough to prevent
read faults. To improve robustness, make sure that the destination
value of atomic operations is correctly initialized in case the
instruction is not performed.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/compiler/glsl/test_optpass.h')
0 files changed, 0 insertions, 0 deletions