diff options
author | Eric Anholt <[email protected]> | 2014-09-19 10:06:49 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-19 11:09:04 -0700 |
commit | dcd03e74768bb4ba55b5742250f3ed15771b6f66 (patch) | |
tree | dc9b0ec1e5166452e45bb1c606da2ebc6cb435ee /src/gallium/drivers/vc4/vc4_qir.h | |
parent | f2c39dd0e19e83dac922878b00a4b871c839b609 (diff) |
vc4: Use the same method as for FRAG_Z to handle fragcoord W.
I need to get the non-reciprocal version of W for interpolation, anyway.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 833795afcc5..f3e5332edfc 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -106,7 +106,7 @@ enum qop { QOP_FRAG_X, QOP_FRAG_Y, QOP_FRAG_Z, - QOP_FRAG_RCP_W, + QOP_FRAG_W, /** Texture x coordinate parameter write */ QOP_TEX_S, @@ -363,7 +363,7 @@ QIR_NODST_2(TEX_B) QIR_ALU0(FRAG_X) QIR_ALU0(FRAG_Y) QIR_ALU0(FRAG_Z) -QIR_ALU0(FRAG_RCP_W) +QIR_ALU0(FRAG_W) QIR_ALU0(TEX_RESULT) QIR_ALU0(TLB_COLOR_READ) QIR_NODST_1(TLB_Z_WRITE) |