Mesa (master): nv50: SWZ is the same as MOV from our perspective

Ben Skeggs darktama at kemper.freedesktop.org
Wed Sep 2 02:07:34 UTC 2009


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

Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Wed Sep  2 12:03:42 2009 +1000

nv50: SWZ is the same as MOV from our perspective

---

 src/gallium/drivers/nv50/nv50_program.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 289c348..1cb1ce7 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -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;




More information about the mesa-commit mailing list