i965: handle OPCODE_SWZ in the glsl path
authorRoland Scheidegger <sroland@vmware.com>
Tue, 16 Jun 2009 19:38:58 +0000 (21:38 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 16 Jun 2009 19:40:41 +0000 (21:40 +0200)
commit4ef1f8e3b52a06fcf58f78c9c36738531b91dbac
treeaa2a304e2f178bf8b5a061195374a83f3205e2e8
parent1510c3cae1d840a065a22c891ad6db794dfe7a00
i965: handle OPCODE_SWZ in the glsl path

glsl compiler will not generate OPCODE_SWZ, and as a first step it would
be translated away to a MOV anyway (why?), but later internally this opcode is
generated (for EXT_texture_swizzling).
src/mesa/drivers/dri/i965/brw_wm_glsl.c