[Mesa-dev] [PATCH v3 079/104] nir: Remove deref chain support from lower_clamp_color_outputs

Jason Ekstrand jason at jlekstrand.net
Tue Apr 3 18:38:41 UTC 2018


---
 src/compiler/nir/nir_lower_clamp_color_outputs.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/compiler/nir/nir_lower_clamp_color_outputs.c b/src/compiler/nir/nir_lower_clamp_color_outputs.c
index ec39848..b76a4d5 100644
--- a/src/compiler/nir/nir_lower_clamp_color_outputs.c
+++ b/src/compiler/nir/nir_lower_clamp_color_outputs.c
@@ -67,9 +67,6 @@ lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr)
    nir_ssa_def *s;
 
    switch (intr->intrinsic) {
-   case nir_intrinsic_store_var:
-      out = intr->variables[0]->var;
-      break;
    case nir_intrinsic_store_deref:
       out = nir_deref_instr_get_variable(nir_src_as_deref(intr->src[0]));
       break;
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list