From e7c38987255d23bc32dc0a68f7f6e2c620d3968a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 11 Jul 2013 15:52:37 -0600 Subject: [PATCH] tgsi: exec TGSI_OPCODE_SQRT as a scalar instruction, not vector To align with the docs and the state tracker. Reviewed-by: Jose Fonseca --- 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 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: -- 2.30.2