Module: Mesa
Branch: gallium-integer-opcodes
Commit: 5a3ad6d0ffa2458968b40e858f78c783a1309c24
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a3ad6d0ffa2458968b40e858f78c783a1309c24

Author: Michal Krol <[email protected]>
Date:   Sun Jan  3 21:13:47 2010 +0100

tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.

---

 src/gallium/auxiliary/tgsi/tgsi_exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c 
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 6019509..fd58fec 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -2164,7 +2164,7 @@ exec_instruction(
       break;
 
    case TGSI_OPCODE_MOV:
-      exec_vector_unary(mach, inst, micro_mov, TGSI_EXEC_DATA_UINT, 
TGSI_EXEC_DATA_UINT);
+      exec_vector_unary(mach, inst, micro_mov, TGSI_EXEC_DATA_UINT, 
TGSI_EXEC_DATA_FLOAT);
       break;
 
    case TGSI_OPCODE_LIT:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to