summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
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.h
parent399285403a5c1c730877b9d196a1f47670f4be46 (diff)
vc4: Add support for the TGSI TRUNC opcode.
v2: Rebase on helpers.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 491748ff05d..753f82e5021 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -59,6 +59,7 @@ enum qop {
QOP_CMP,
QOP_FTOI,
+ QOP_ITOF,
QOP_RCP,
QOP_RSQ,
QOP_EXP2,
@@ -186,6 +187,7 @@ QIR_ALU2(FMAX)
QIR_ALU2(FMINABS)
QIR_ALU2(FMAXABS)
QIR_ALU1(FTOI)
+QIR_ALU1(ITOF)
QIR_ALU1(RCP)
QIR_ALU1(RSQ)
QIR_ALU1(EXP2)