[Mesa-dev] [PATCH 13/14] i965/vs: Implement EXT_texture_swizzle support for VS texturing.

Eric Anholt eric at anholt.net
Tue Dec 13 13:19:21 PST 2011


On Thu,  8 Dec 2011 17:08:04 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> +   if (one_mask) {
> +      swizzled_result.writemask = one_mask;
> +      emit(MOV(swizzled_result, src_reg(1.0f)));
> +   }
>  }

I think this would be wrong for SWIZZLE_ONE of integer textures.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111213/7b3f8e46/attachment.pgp>


More information about the mesa-dev mailing list