diff options
author | Jason Ekstrand <[email protected]> | 2015-05-19 16:57:43 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-05-20 09:28:06 -0700 |
commit | 2126c68e5cba79709e228f12eb3062a9be634a0e (patch) | |
tree | c2f1db542991244fedc04850d42d231b553080ad /src/glsl/nir/nir_dominance.c | |
parent | e1c4e8aaaafddd0e04cf2a16e28ef8f1e09d8b44 (diff) |
nir: Get rid of the array elements parameter on load/store intrinsics
Previously, we used intrinsic->const_index[1] to represent "the number of
array elements to load" for load/store intrinsics. However, this set to 1
by every pass that ever creates a load/store intrinsic. Also, while it
might make some sense for registers, it makes no sense whatsoever in SSA.
On top of that, the i965 backend was the only backend to ever support it;
freedreno and vc4 just assert that it's always 1. Let's just delete it.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_dominance.c')
0 files changed, 0 insertions, 0 deletions