i965: Allow OPCODE_SWZ to put immediates in the first arg.
authorEric Anholt <eric@anholt.net>
Wed, 10 Nov 2010 00:19:34 +0000 (16:19 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 10 Nov 2010 01:18:52 +0000 (17:18 -0800)
commitf00929cbddf2ea5794bebf01ac45f4070416d334
tree0da0135439b6aaf87826f4cb79804bb192d82292
parentafb6fb9a92afaecbb0f8e9e65380c842667a4bd4
i965: Allow OPCODE_SWZ to put immediates in the first arg.

Fixes assertion failure with texture swizzling in the GLSL path when
it's triggered (such as gen6 FF or ARB_fp shadow comparisons).

Fixes:
texdepth
texSwizzle
fp1-DST test
fp1-LIT test 3
src/mesa/drivers/dri/i965/brw_wm_emit.c