aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_validate.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:09:27 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit3afc1e068f9f3ad125decc2761f7c0cf1fe2c3a6 (patch)
tree7b7848ed692ba239c5f41f5cf0a130bb83234d64 /src/compiler/nir/nir_validate.c
parent9b24028426702f8d4c8c1f563ff9d32b99532357 (diff)
nir: rename nir_var_ubo to nir_var_mem_ubo
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 43757858207..22af3b6e757 100644
--- a/src/compiler/nir/nir_validate.c
+++ b/src/compiler/nir/nir_validate.c
@@ -446,7 +446,7 @@ validate_deref_instr(nir_deref_instr *instr, validate_state *state)
case nir_deref_type_array:
case nir_deref_type_array_wildcard:
- if (instr->mode == nir_var_ubo ||
+ if (instr->mode == nir_var_mem_ubo ||
instr->mode == nir_var_ssbo ||
instr->mode == nir_var_shared) {
/* Shared variables and UBO/SSBOs have a bit more relaxed rules