diff options
author | Eric Anholt <[email protected]> | 2016-05-05 19:19:39 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-05-06 10:25:55 -0700 |
commit | daaa9d579de4e776d8a6e9efafbbb587269a33db (patch) | |
tree | c1feb6836a9663487678c8115ea5154660652cc0 /src/gallium/drivers/vc4/vc4_qir.c | |
parent | d36b28402f54282aa602d61c89af008100b50799 (diff) |
vc4: Fix the src count on exp2/log2.
Found by the upcoming QIR validate pass.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.c | 4 |
1 files 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 }, |