[Mesa-dev] [PATCH 1/3] tgsi: exec TGSI_OPCODE_SQRT as a scalar instruction, not vector
Brian Paul
brianp at vmware.com
Thu Jul 11 16:26:08 PDT 2013
To align with the docs and the state tracker.
---
src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index e89fb77..e0000af 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -3562,7 +3562,7 @@ exec_instruction(
break;
case TGSI_OPCODE_SQRT:
- exec_vector_unary(mach, inst, micro_sqrt, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT);
+ exec_scalar_unary(mach, inst, micro_sqrt, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT);
break;
case TGSI_OPCODE_DP2A:
--
1.7.10.4
More information about the mesa-dev
mailing list