From: Christoph Bumiller Date: Mon, 7 Dec 2009 19:40:39 +0000 (+0100) Subject: nv50: add src_mask case for IF opcode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a689783b9f61fc12e35f7e613697a3f4b07766b;p=mesa.git nv50: add src_mask case for IF opcode --- 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: