tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.
authorMichal Krol <michal@vmware.com>
Sun, 3 Jan 2010 20:13:47 +0000 (21:13 +0100)
committerMichal Krol <michal@vmware.com>
Tue, 5 Jan 2010 08:28:36 +0000 (09:28 +0100)
src/gallium/auxiliary/tgsi/tgsi_exec.c

index defa4e5ca592368f6715a64ef8ba42d189404ed8..00ec3a6ba1ac58f80fcae3923f440658f6b419f6 100644 (file)
@@ -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: