summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-05 13:33:50 -0700
committerEric Anholt <[email protected]>2014-08-08 18:59:47 -0700
commitbf542cd37286decbd9fc0c939007b82176e16a81 (patch)
treef717868260caf74de1d282d070d41b99b9ba110e /src/gallium/drivers/vc4/vc4_qir.c
parent399285403a5c1c730877b9d196a1f47670f4be46 (diff)
vc4: Add support for the TGSI TRUNC opcode.
v2: Rebase on helpers.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index 71f6e87578d..495d16e2a25 100644
--- a/src/gallium/drivers/vc4/vc4_qir.c
+++ b/src/gallium/drivers/vc4/vc4_qir.c
@@ -52,6 +52,7 @@ static const struct qir_op_info qir_op_info[] = {
[QOP_CMP] = { "cmp", 1, 3 },
[QOP_FTOI] = { "ftoi", 1, 1 },
+ [QOP_ITOF] = { "itof", 1, 1 },
[QOP_RCP] = { "rcp", 1, 1 },
[QOP_RSQ] = { "rsq", 1, 1 },
[QOP_EXP2] = { "exp2", 1, 2 },