diff options
author | Eric Anholt <[email protected]> | 2014-12-12 11:35:28 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-01-10 13:54:12 +1300 |
commit | 24d94874323ef59ebc83c806497c3d826ae37b9e (patch) | |
tree | fea5b96061810de8607c167f58cc3ad9393be2b1 /docs/developers.html | |
parent | 3d8188d4f898afcf4f181de29e12c5b218bbd393 (diff) |
state_tracker: Fix assertion failures in conditional block movs.
If you had a conditional assignment of an array or struct (say, from the
if-lowering pass), we'd try doing swizzle_for_size() on the aggregate
type, and it would assertion fail due to vector_elements==0. Instead,
extend emit_block_mov() to handle emitting the conditional operations,
which also means we'll have appropriate writemasks/swizzles on the CMPs
within a struct containing various-sized members.
Fixes 20 testcases in es3conform on vc4.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'docs/developers.html')
0 files changed, 0 insertions, 0 deletions