Mesa (master): nv50: add src_mask case for IF opcode

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Dec 12 09:54:26 PST 2009


Module: Mesa
Branch: master
Commit: 6a689783b9f61fc12e35f7e613697a3f4b07766b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a689783b9f61fc12e35f7e613697a3f4b07766b

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Dec  7 20:40:39 2009 +0100

nv50: add src_mask case for IF opcode

---

 src/gallium/drivers/nv50/nv50_program.c |    2 ++
 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 6116056..8c82652 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:



More information about the mesa-commit mailing list