summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-09-02 12:03:42 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-09-02 12:05:34 +1000
commita82cd55a5cb1ad617960551560b107edffad1e9a (patch)
treeeb3da1417aa8210a45bfb60663e61e65cc206c74 /src/gallium/drivers
parent282f578dbd790d7e5d7f371c51b72f116cda3934 (diff)
nv50: SWZ is the same as MOV from our perspective
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 289c3485e0..1cb1ce74bd 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -1495,6 +1495,7 @@ nv50_program_tx_insn(struct nv50_pc *pc, const union tgsi_full_token *tok)
}
break;
case TGSI_OPCODE_MOV:
+ case TGSI_OPCODE_SWZ:
for (c = 0; c < 4; c++) {
if (!(mask & (1 << c)))
continue;