summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-16 12:55:16 -0700
committerEric Anholt <[email protected]>2014-09-16 13:03:41 -0700
commit2264925f85f349f57773d46114806a148eae6394 (patch)
tree9b059661ae394b6e68c4dd164c356be920efc5df /src/gallium/drivers/vc4/vc4_qir.h
parentaae4223fbd2d94f922339baa11ffefdb88896770 (diff)
vc4: Add support for computed depth writes.
Fixes piglit glsl-1.10-fragdepth and early-z.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index f26f8963f34..f3dad5ed67c 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -227,6 +227,8 @@ struct vc4_compile {
uint32_t num_uniforms;
uint32_t num_outputs;
uint32_t num_texture_samples;
+ uint32_t output_position_index;
+ uint32_t output_color_index;
struct qreg undef;
enum qstage stage;