v3dv: actually enable early Z

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

We had done all the plumbing for this but EZ can be disabled in 3 places and we were never setting the enable bit in the configuration bits packet.

Also, configuration bits must not enable EZ if this has been disabled in the RCL for the whole frame, which we do if we don't have a depth attachment at all.

Part-of:

420d13b3246 v3dv: actually enable early Z
src/broadcom/vulkan/v3dv_cmd_buffer.c | 30 +++++++++++++++++++++++-------
src/broadcom/vulkan/v3dv_pipeline.c | 7 ++++---
2 files changed, 27 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share