From d7a0502a5440359d1cecd42e58bdb85c2d857824 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 30 Sep 2014 16:08:23 -0700 Subject: vc4: Add support for the FACE semantic. Fixes glsl-fs-frontfacing. --- 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 2807b497ffe..ddd1f063a38 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -107,6 +107,7 @@ enum qop { QOP_FRAG_Y, QOP_FRAG_Z, QOP_FRAG_W, + QOP_FRAG_REV_FLAG, QOP_UNPACK_8A, QOP_UNPACK_8B, @@ -377,6 +378,7 @@ QIR_ALU0(FRAG_X) QIR_ALU0(FRAG_Y) QIR_ALU0(FRAG_Z) QIR_ALU0(FRAG_W) +QIR_ALU0(FRAG_REV_FLAG) QIR_ALU0(TEX_RESULT) QIR_ALU0(TLB_COLOR_READ) QIR_NODST_1(TLB_Z_WRITE) -- cgit v1.2.3