From: Brian Paul Date: Thu, 11 Jul 2013 21:52:37 +0000 (-0600) Subject: tgsi: exec TGSI_OPCODE_SQRT as a scalar instruction, not vector X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7c38987255d23bc32dc0a68f7f6e2c620d3968a;p=mesa.git tgsi: exec TGSI_OPCODE_SQRT as a scalar instruction, not vector To align with the docs and the state tracker. Reviewed-by: Jose Fonseca --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index e89fb777afc..e0000aff822 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: