From bf542cd37286decbd9fc0c939007b82176e16a81 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 5 Aug 2014 13:33:50 -0700 Subject: vc4: Add support for the TGSI TRUNC opcode. v2: Rebase on helpers. --- src/gallium/drivers/vc4/vc4_qir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/vc4/vc4_qir.h') 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) -- cgit v1.2.3