summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-07-11 15:52:37 -0600
committerBrian Paul <brianp@vmware.com>2013-07-12 08:32:51 -0600
commite7c38987255d23bc32dc0a68f7f6e2c620d3968a (patch)
tree528ec66acd58c075f7f823b2d2dd8a2059d3f73a /src/gallium/auxiliary/tgsi/tgsi_exec.c
parentf3fad24b622d2fa51508e9a4066d393ef3260ddc (diff)
downloadexternal_mesa3d-e7c38987255d23bc32dc0a68f7f6e2c620d3968a.zip
external_mesa3d-e7c38987255d23bc32dc0a68f7f6e2c620d3968a.tar.gz
external_mesa3d-e7c38987255d23bc32dc0a68f7f6e2c620d3968a.tar.bz2
tgsi: exec TGSI_OPCODE_SQRT as a scalar instruction, not vector
To align with the docs and the state tracker. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c2
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 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: