diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_undef.c')
-rw-r--r-- | src/compiler/nir/nir_opt_undef.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opt_undef.c b/src/compiler/nir/nir_opt_undef.c index 0edd7ae6ee0..e03e5b88efc 100644 --- a/src/compiler/nir/nir_opt_undef.c +++ b/src/compiler/nir/nir_opt_undef.c @@ -112,6 +112,8 @@ opt_undef_store(nir_intrinsic_instr *intrin) case nir_intrinsic_store_per_vertex_output: case nir_intrinsic_store_ssbo: case nir_intrinsic_store_shared: + case nir_intrinsic_store_global: + case nir_intrinsic_store_scratch: arg_index = 0; break; default: |