From: Eric Anholt Date: Fri, 6 May 2016 02:19:39 +0000 (-0700) Subject: vc4: Fix the src count on exp2/log2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=daaa9d579de4e776d8a6e9efafbbb587269a33db;p=mesa.git vc4: Fix the src count on exp2/log2. Found by the upcoming QIR validate pass. --- diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index faf5280103e..4b185be0b65 100644 --- a/src/gallium/drivers/vc4/vc4_qir.c +++ b/src/gallium/drivers/vc4/vc4_qir.c @@ -66,8 +66,8 @@ static const struct qir_op_info qir_op_info[] = { [QOP_RCP] = { "rcp", 1, 1 }, [QOP_RSQ] = { "rsq", 1, 1 }, - [QOP_EXP2] = { "exp2", 1, 2 }, - [QOP_LOG2] = { "log2", 1, 2 }, + [QOP_EXP2] = { "exp2", 1, 1 }, + [QOP_LOG2] = { "log2", 1, 1 }, [QOP_TLB_COLOR_READ] = { "tlb_color_read", 1, 0 }, [QOP_MS_MASK] = { "ms_mask", 0, 1, true }, [QOP_VARY_ADD_C] = { "vary_add_c", 1, 1 },