Eric Anholt writes:
> Kenneth Graunke writes:
>
>> do_vec_index_to_swizzle() should remove any vector extract operations
>> with a constant index. It's unconditionally called from
>> do_common_optimization().
>>
>> do_vec_index_to_cond_assign() should remove the rest, and it is
>> unconditional
Kenneth Graunke writes:
> do_vec_index_to_swizzle() should remove any vector extract operations
> with a constant index. It's unconditionally called from
> do_common_optimization().
>
> do_vec_index_to_cond_assign() should remove the rest, and it is
> unconditionally called from brw_link_shader(
On Fri, May 17, 2013 at 10:43 AM, Kenneth Graunke wrote:
> do_vec_index_to_swizzle() should remove any vector extract operations
> with a constant index. It's unconditionally called from
> do_common_optimization().
>
> do_vec_index_to_cond_assign() should remove the rest, and it is
> unconditiona
do_vec_index_to_swizzle() should remove any vector extract operations
with a constant index. It's unconditionally called from
do_common_optimization().
do_vec_index_to_cond_assign() should remove the rest, and it is
unconditionally called from brw_link_shader(). This means that we
should never s