diff options
Diffstat (limited to 'src/compiler/nir/nir_validate.c')
-rw-r--r-- | src/compiler/nir/nir_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c index 682ed762f57..204cfdbbe3c 100644 --- a/src/compiler/nir/nir_validate.c +++ b/src/compiler/nir/nir_validate.c @@ -505,7 +505,8 @@ validate_deref_instr(nir_deref_instr *instr, validate_state *state) if (use->parent_instr->type == nir_instr_type_phi) { validate_assert(state, instr->mode == nir_var_mem_ubo || instr->mode == nir_var_mem_ssbo || - instr->mode == nir_var_mem_shared); + instr->mode == nir_var_mem_shared || + instr->mode == nir_var_mem_global); } } } |