Ian Romanick <i...@freedesktop.org> writes:

> From: Ian Romanick <ian.d.roman...@intel.com>
>
> This will eventually replace do_vec_index_to_cond_assign.  This lowering
> pass is called in all the places where do_vec_index_to_cond_assign or
> do_vec_index_to_swizzle is called.
>
> v2: Use WRITEMASK_* instead of integer literals.  Use a more concise
> method of generating broadcast_index.  Both suggested by Eric.

I still object to using a vec4 cmp_result.  It's awful for code
generation.  Just compare in the if statements.

IFs vs cond assigns I don't care about -- that's something the driver
should be deciding.

Attachment: pgpad44idEYpY.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to