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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:44 +0000 (11:39 +0100)
commit965ceef5969b45b585a3345a84e93e14dc9b7bc2
tree4094a0208421cfc840ff371bc01f60ca3a5edce1
parent0f097f28ebfb31aa9a9e88159e79f53b2c47197f
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.

(cherry picked from commit ce8504d196291452b42ed755ed3830ecb16febcd)
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_emit.c
src/gallium/drivers/vc4/vc4_program.c