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

2015-01-07 Thread Jose Fonseca
On 13/12/14 02:24, Eric Anholt wrote: 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 th

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

2015-01-05 Thread Eric Anholt
Eric Anholt 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 conditio

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

2014-12-12 Thread Eric Anholt
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 mea