i965: implement GL_EXT_texture_swizzle
authorBrian Paul <brianp@vmware.com>
Wed, 28 Jan 2009 21:50:03 +0000 (14:50 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 28 Jan 2009 21:50:03 +0000 (14:50 -0700)
commitc0d3b7679aa90e1a0dca2db152205efaec088b90
treed3f159773a1f83e78e9b60367abbce9311420b08
parent9e7903e492ad842481a166484e0474dd4f3100ba
i965: implement GL_EXT_texture_swizzle

If the texture swizzle is not XYZW (no-op) add an extra MOV instruction
after the TEX instruction to rearrange the components.
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_fp.c
src/mesa/drivers/dri/intel/intel_extensions.c