[Mesa-dev] [PATCH] state_tracker: Fix assertion failures in conditional block movs.

Eric Anholt eric at anholt.net
Mon Jan 5 13:22:25 PST 2015


Eric Anholt <eric at anholt.net> writes:

> 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.

Ping on this one.  This is over half of my es3conform failures.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150105/4139b345/attachment.sig>


More information about the mesa-dev mailing list