nir: Fix indexing of atomic counter arrays with a constant value.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 5 May 2015 20:02:05 +0000 (23:02 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 May 2015 12:47:57 +0000 (15:47 +0300)
commit6de78e6b0c8aa4bd6bdd89e3ca33c2ccb9a5ac3d
treea5380e9cb4762742823324a9d11587bdf77e2a23
parentf1269a3e013e23135b2482e4f137d69ed6cc1734
nir: Fix indexing of atomic counter arrays with a constant value.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir_lower_atomics.c