diff options
author | Eric Anholt <eric@anholt.net> | 2015-01-14 17:11:59 +1300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-01-15 22:19:25 +1300 |
commit | d1f2fc834d1c662726e30ff51d843e3ecd4b06d6 (patch) | |
tree | e878353ea14073a1d0b66ca710d4bbb53c2958c8 /src/gallium/drivers/vc4 | |
parent | 82b7ee62fc4bbe014f61a60bccf694b706c7247d (diff) | |
download | external_mesa3d-d1f2fc834d1c662726e30ff51d843e3ecd4b06d6.zip external_mesa3d-d1f2fc834d1c662726e30ff51d843e3ecd4b06d6.tar.gz external_mesa3d-d1f2fc834d1c662726e30ff51d843e3ecd4b06d6.tar.bz2 |
vc4: Fix early Z behavior on hardware.
It turns out the simulator was not treating this bit the same as the RPi,
and I'd forgotten to remove it when turning on early Z. The result was
that you'd get big chunks of your rendering missing.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 4c84bd3..6729fa3 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -151,8 +151,7 @@ vc4_setup_rcl(struct vc4_context *vc4) VC4_RENDER_CONFIG_MEMORY_FORMAT_SHIFT) | (vc4_rt_format_is_565(render_surf->base.format) ? VC4_RENDER_CONFIG_FORMAT_BGR565 : - VC4_RENDER_CONFIG_FORMAT_RGBA8888) | - VC4_RENDER_CONFIG_EARLY_Z_COVERAGE_DISABLE)); + VC4_RENDER_CONFIG_FORMAT_RGBA8888))); /* The tile buffer normally gets cleared when the previous tile is * stored. If the clear values changed between frames, then the tile |