summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_validate.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:11:23 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit6fefd6972438054e3fb45666b6714a5c9c4859b9 (patch)
tree059e31cfbcc28e19f6b0ff634fb108ab000e1c11 /src/compiler/nir/nir_validate.c
parent3afc1e068f9f3ad125decc2761f7c0cf1fe2c3a6 (diff)
nir: rename nir_var_ssbo to nir_var_mem_ssbo
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 22af3b6e757..ef5156a70dd 100644
--- a/src/compiler/nir/nir_validate.c
+++ b/src/compiler/nir/nir_validate.c
@@ -447,7 +447,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_mem_ubo ||
- instr->mode == nir_var_ssbo ||
+ instr->mode == nir_var_mem_ssbo ||
instr->mode == nir_var_shared) {
/* Shared variables and UBO/SSBOs have a bit more relaxed rules
* because we need to be able to handle array derefs on vectors.