nv50: add src_mask case for IF opcode
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 7 Dec 2009 19:40:39 +0000 (20:40 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 12 Dec 2009 15:38:59 +0000 (16:38 +0100)
src/gallium/drivers/nv50/nv50_program.c

index 61160568570707bbcf7dfd82214420a4988d7c46..8c82652913662199b8cb514d2b7803b262b13ff5 100644 (file)
@@ -1573,6 +1573,8 @@ nv50_tgsi_src_mask(const struct tgsi_full_instruction *insn, int c)
        case TGSI_OPCODE_RSQ:
        case TGSI_OPCODE_SCS:
                return 0x1;
+       case TGSI_OPCODE_IF:
+               return 0x1;
        case TGSI_OPCODE_LIT:
                return 0xb;
        case TGSI_OPCODE_TEX: