aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/opt_cse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/opt_cse.cpp')
-rw-r--r--mesalib/src/glsl/opt_cse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/opt_cse.cpp b/mesalib/src/glsl/opt_cse.cpp
index 0e720cc26..9c96835dd 100644
--- a/mesalib/src/glsl/opt_cse.cpp
+++ b/mesalib/src/glsl/opt_cse.cpp
@@ -276,7 +276,7 @@ cse_visitor::try_cse(ir_rvalue *rvalue)
ir_variable *var = new(rvalue) ir_variable(rvalue->type,
"cse",
- ir_var_auto);
+ ir_var_temporary);
/* Write the previous expression result into a new variable. */
base_ir->insert_before(var);