Mesa (gallium-integer-opcodes): tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.
MichaŠKról
michal at kemper.freedesktop.org
Sun Jan 3 20:13:54 UTC 2010
Module: Mesa
Branch: gallium-integer-opcodes
Commit: 5a3ad6d0ffa2458968b40e858f78c783a1309c24
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a3ad6d0ffa2458968b40e858f78c783a1309c24
Author: Michal Krol <michal at vmware.com>
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:
More information about the mesa-commit
mailing list