mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
glsl2: Actually add the declaration of _post_incdec_temp.
This commit is contained in:
parent
acf88f2769
commit
43b5b03d67
1 changed files with 1 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue