Mesa (master): tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.
MichaŠKról
michal at kemper.freedesktop.org
Tue Jan 5 08:29:34 UTC 2010
Module: Mesa
Branch: master
Commit: c301fa6fc86b5ab8cc953674d6d21ff28a09e4ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c301fa6fc86b5ab8cc953674d6d21ff28a09e4ad
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 defa4e5..00ec3a6 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -2211,7 +2211,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