OSDN Git Service

vc4: Disable early Z with computed depth.
authorEric Anholt <eric@anholt.net>
Tue, 19 Jul 2016 18:10:36 +0000 (11:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Jul 2016 20:47:50 +0000 (13:47 -0700)
commitce8504d196291452b42ed755ed3830ecb16febcd
treec9e4b018baa6c1ab1df2b82e71f54db4ba5c1790
parent4d0b2c7aaac3cf3de5af8474c83501122841d157
vc4: Disable early Z with computed depth.

We don't tell the hardware whether we're computing depth, so we need
to manage early Z state manually.  Fixes piglit early-z.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_emit.c
src/gallium/drivers/vc4/vc4_program.c