[Mesa-dev] [PATCH v3 039/104] nir: Support deref instructions in opt_undef

Jason Ekstrand jason at jlekstrand.net
Tue Apr 3 18:33:06 UTC 2018


---
 src/compiler/nir/nir_opt_undef.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/nir/nir_opt_undef.c b/src/compiler/nir/nir_opt_undef.c
index 8d3210c..1439ca9 100644
--- a/src/compiler/nir/nir_opt_undef.c
+++ b/src/compiler/nir/nir_opt_undef.c
@@ -108,6 +108,7 @@ static bool
 opt_undef_store(nir_intrinsic_instr *intrin)
 {
    switch (intrin->intrinsic) {
+   case nir_intrinsic_store_deref:
    case nir_intrinsic_store_var:
    case nir_intrinsic_store_output:
    case nir_intrinsic_store_per_vertex_output:
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list