On Fri, Jul 27, 2012 at 10:49:25AM -0700, Kenneth Graunke wrote:
> From: Ian Romanick <ian.d.roman...@intel.com>
> 
> There can only be one variable used in an ir_quadop_vector.  Accesses
> of this variable must be swizzled.

There's nothing anywhere ensuring the presence of the swizzle.  I
completely agree that trashing the components value is a bad idea, but
you should have SWIZZLE_X as a default value for the components array.

Amusingly enough, it's already the case (SWIZZLE_X==0), so making it
explicit would be perfect.

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

Reply via email to