diff options
author | Eric Anholt <[email protected]> | 2010-03-28 01:29:18 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-29 12:48:45 -0700 |
commit | a9fafc6504ebccdc0fee3d2529c3fe6068cc86b8 (patch) | |
tree | 4e98d4124b207be52c5feb3da37c35912bf358a9 /ir.h | |
parent | ab372dab2a013e5d0c8ee57bb799a76c9a78abf2 (diff) |
Don't let swizzles with duplicated components be considered as lvalues.
Fixes swizzle2.frag.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -432,7 +432,7 @@ public: bool is_lvalue() { - return val->is_lvalue(); + return val->is_lvalue() && !mask.has_duplicates; } ir_rvalue *val; |