summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-01 16:02:37 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:31 -0700
commit99070c6daad72c96d517ffb18185c8b21b9d67f2 (patch)
tree9401b172b6e430ce5115297aba63e333a7daae26 /src/gallium/drivers/vc4/vc4_qir.h
parent4160ac5ee41630a5c9fc4e1f3520f0fabf42cb14 (diff)
vc4: Add proper translation from Zc to Zs for vertex output.
This fixes the remaining failure in depthfunc.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index b578e7e0b9e..5d1f088ee37 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -140,6 +140,9 @@ enum quniform_contents {
QUNIFORM_VIEWPORT_Y_SCALE,
/** @} */
+ QUNIFORM_VIEWPORT_Z_OFFSET,
+ QUNIFORM_VIEWPORT_Z_SCALE,
+
/**
* A reference to a texture config parameter 0 uniform.
*