diff options
author | Chris Forbes <[email protected]> | 2013-09-30 22:10:17 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-03 07:54:53 +1300 |
commit | 0d7fc10bcd2efb2f96d684b3273b4e0c0b0afef0 (patch) | |
tree | 04105027f89020ef6769e2100f6bacdb202cefc5 /src/glsl/ir_print_visitor.h | |
parent | 4e4c32ba11598818583ad0aa689339297ddf1c74 (diff) |
i965: fix bogus swizzle in brw_cubemap_normalize
When used with a cube array in VS, failed assertion in ir_validate:
Assignment count of LHS write mask channels enabled not
matching RHS vector size (3 LHS, 4 RHS).
To fix this, swizzle the RHS correctly for the writemask.
This showed up in the ARB_texture_gather tests, which exercise cube
arrays in the VS.
Signed-off-by: Chris Forbes <[email protected]>
Cc: "9.2" <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_print_visitor.h')
0 files changed, 0 insertions, 0 deletions