aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_cse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/opt_cse.cpp')
-rw-r--r--src/glsl/opt_cse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/opt_cse.cpp b/src/glsl/opt_cse.cpp
index 0e720cc2686..9c96835ddd5 100644
--- a/src/glsl/opt_cse.cpp
+++ b/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);