summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2009-12-07 20:40:39 +0100
committerChristoph Bumiller <[email protected]>2009-12-12 16:38:59 +0100
commit6a689783b9f61fc12e35f7e613697a3f4b07766b (patch)
tree427417e5bcd33f6439f0510c2db6f82cb2627487 /src/gallium/drivers/nv50/nv50_program.c
parent9f3644c42350fec2cda17e66548c517d9d00e47f (diff)
nv50: add src_mask case for IF opcode
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 61160568570..8c826529136 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -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: