diff options
author | Eric Anholt <[email protected]> | 2014-09-16 12:55:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-16 13:03:41 -0700 |
commit | 2264925f85f349f57773d46114806a148eae6394 (patch) | |
tree | 9b059661ae394b6e68c4dd164c356be920efc5df /src/gallium/drivers/vc4/vc4_qir.c | |
parent | aae4223fbd2d94f922339baa11ffefdb88896770 (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.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index 640589d23c0..216abb37828 100644 --- a/src/gallium/drivers/vc4/vc4_qir.c +++ b/src/gallium/drivers/vc4/vc4_qir.c @@ -279,6 +279,9 @@ qir_compile_init(void) make_empty_list(&c->instructions); + c->output_position_index = -1; + c->output_color_index = -1; + return c; } |