diff options
author | Eric Anholt <[email protected]> | 2014-09-16 11:20:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-16 13:03:32 -0700 |
commit | aae4223fbd2d94f922339baa11ffefdb88896770 (patch) | |
tree | 2ca23311d82fc63e272a1cd7c7c1fd9d98beb8b1 /src/gallium/drivers/vc4/vc4_qir.h | |
parent | a420aa1b4183e06bbbb6d909663ccb1e4527f096 (diff) |
vc4: Restructure depth input/output in fragment shaders.
The goal here is to have an argument for the depth write opcode so that I
can do computed depth. In the process, this makes the calculations that
will be emitted more obvious in the QIR.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 539993f41b4..f26f8963f34 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -97,7 +97,7 @@ enum qop { QOP_VPM_WRITE, QOP_VPM_READ, QOP_TLB_DISCARD_SETUP, - QOP_TLB_PASSTHROUGH_Z_WRITE, + QOP_TLB_Z_WRITE, QOP_TLB_COLOR_WRITE, QOP_TLB_COLOR_READ, QOP_VARY_ADD_C, @@ -361,6 +361,7 @@ QIR_ALU0(FRAG_Z) QIR_ALU0(FRAG_RCP_W) QIR_ALU0(TEX_RESULT) QIR_ALU0(TLB_COLOR_READ) +QIR_NODST_1(TLB_Z_WRITE) QIR_NODST_1(TLB_DISCARD_SETUP) static inline struct qreg |