From daaa9d579de4e776d8a6e9efafbbb587269a33db Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 5 May 2016 19:19:39 -0700 Subject: [PATCH] vc4: Fix the src count on exp2/log2. Found by the upcoming QIR validate pass. --- src/gallium/drivers/vc4/vc4_qir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }, -- 2.30.2