summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_validate.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:12:38 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit36a76b7192707edce540a7db8809df00e8643514 (patch)
treeb50a34b3befbf7b42d1b38d5d98cf00792b2415b /src/compiler/nir/nir_validate.c
parent6fefd6972438054e3fb45666b6714a5c9c4859b9 (diff)
nir: rename nir_var_shared to nir_var_mem_shared
Signed-off-by: Karol Herbst <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_validate.c')
-rw-r--r--src/compiler/nir/nir_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c
index ef5156a70dd..da5e5c05c1c 100644
--- a/src/compiler/nir/nir_validate.c
+++ b/src/compiler/nir/nir_validate.c
@@ -448,7 +448,7 @@ validate_deref_instr(nir_deref_instr *instr, validate_state *state)
case nir_deref_type_array_wildcard:
if (instr->mode == nir_var_mem_ubo ||
instr->mode == nir_var_mem_ssbo ||
- instr->mode == nir_var_shared) {
+ instr->mode == nir_var_mem_shared) {
/* Shared variables and UBO/SSBOs have a bit more relaxed rules
* because we need to be able to handle array derefs on vectors.
* Fortunately, nir_lower_io handles these just fine.