glsl2: Make ir_assignment derive from ir_instruction, not ir_rvalue.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Jul 2010 23:40:35 +0000 (16:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Jul 2010 23:50:37 +0000 (16:50 -0700)
commit3c033637de7def553559c11d037f2e8bbb750f77
treeea6da71517f8df1c0fff41702efa9547dbd6f340
parentaa9f86ae8b3bb2172092ff9b50751677c509e6b4
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.
src/glsl/ir.h
src/glsl/ir_reader.cpp