From: Nicolai Hähnle Date: Wed, 15 Nov 2017 18:34:00 +0000 (+0100) Subject: tgsi/exec: fix LDEXP in softpipe X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3fa3b0d95c712c00318ca5601433bce1b82432d;p=mesa.git tgsi/exec: fix LDEXP in softpipe Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103128 Fixes: cad959d90145 ("gallium: add LDEXP TGSI instruction and corresponding cap") Reviewed-by: Brian Paul --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index afed96c9b1d..793c0da39ab 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -5130,7 +5130,7 @@ exec_instruction( break; case TGSI_OPCODE_LDEXP: - exec_scalar_binary(mach, inst, micro_ldexp, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_INT); + exec_vector_binary(mach, inst, micro_ldexp, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT); break; case TGSI_OPCODE_COS: