diff options
author | Kenneth Graunke <[email protected]> | 2010-07-22 16:40:35 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-07-22 16:50:37 -0700 |
commit | 3c033637de7def553559c11d037f2e8bbb750f77 (patch) | |
tree | ea6da71517f8df1c0fff41702efa9547dbd6f340 /src/glsl/ir.h | |
parent | aa9f86ae8b3bb2172092ff9b50751677c509e6b4 (diff) |
glsl2: Make ir_assignment derive from ir_instruction, not ir_rvalue.
Assignments can only exist at the top level instruction stream; the
residual value is handled by assigning the value to a temporary and
returning an ir_dereference_variable of that temporary.
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index c73bf4ce8b2..3fd3a7660bc 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -506,7 +506,7 @@ public: }; -class ir_assignment : public ir_rvalue { +class ir_assignment : public ir_instruction { public: ir_assignment(ir_rvalue *lhs, ir_rvalue *rhs, ir_rvalue *condition); |