projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf88f2
)
glsl2: Actually add the declaration of _post_incdec_temp.
author
Eric Anholt
<eric@anholt.net>
Wed, 7 Jul 2010 21:04:30 +0000
(14:04 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 7 Jul 2010 21:06:26 +0000
(14:06 -0700)
src/glsl/ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_to_hir.cpp
b/src/glsl/ast_to_hir.cpp
index b21131f60f871fd9224041b5d3eba391a5a035e5..e716b8a11e7e3b7191a74bde370e2c9190ef08f7 100644
(file)
--- a/
src/glsl/ast_to_hir.cpp
+++ b/
src/glsl/ast_to_hir.cpp
@@
-571,6
+571,7
@@
get_lvalue_copy(exec_list *instructions, ir_rvalue *lvalue)
/* FINISHME: Give unique names to the temporaries. */
var = new(ctx) ir_variable(lvalue->type, "_post_incdec_tmp");
+ instructions->push_tail(var);
var->mode = ir_var_auto;
instructions->push_tail(new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var),