nv50: add functions for swizzle resolution
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 10 Sep 2009 11:48:24 +0000 (13:48 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 15 Sep 2009 10:13:22 +0000 (12:13 +0200)
commit2da8608ad795d29fe7a908eaee3d6dd33e829f3e
tree6f6c5919d32bd86466bafdcacb368cc3500079d8
parent5d141b3e3e4a6874a58c893b3039f5c276cd26da
nv50: add functions for swizzle resolution

We're going to try to reorder the scalar ops of a vector instr
to accomodate swizzles that would otherwise require us to emit
to an additional TEMP first (like MOV R0.xy, R0.zx).
src/gallium/drivers/nv50/nv50_program.c