nv50: SWZ is the same as MOV from our perspective
authorBen Skeggs <bskeggs@redhat.com>
Wed, 2 Sep 2009 02:03:42 +0000 (12:03 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 2 Sep 2009 02:05:34 +0000 (12:05 +1000)
src/gallium/drivers/nv50/nv50_program.c

index 289c3485e08b2a2a686c9d17cd34c17df9449df3..1cb1ce74bdd438926fb81bbf3069c1862172cd78 100644 (file)
@@ -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;