diff options
author | Eric Anholt <[email protected]> | 2010-09-27 15:10:34 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-09-27 16:09:50 -0700 |
commit | a5c6c8a31b240729baa12e2eca0ef53199efeed2 (patch) | |
tree | 5e1a0dd0d2af6e41935d06855eec568d1c14453d /src/mesa/drivers | |
parent | 11ba8bafdbb31f40ecbb6478e26496b547d34c68 (diff) |
i965: Remove swizzling of assignment to vector-splitting single-channel LHS.
We'd end up reading some non-x component of the float RHS. +53 piglits.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp index 9b58916cf2b..83b4af05bcb 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp @@ -319,8 +319,6 @@ ir_vector_splitting_visitor::visit_leave(ir_assignment *ir) ir->write_mask = (1 << 0); handle_rvalue(&ir->rhs); - ir->rhs = new(mem_ctx) ir_swizzle(ir->rhs, - elem, elem, elem, elem, 1); } else { handle_rvalue(&ir->rhs); } |