v3dv: implement support for depth testing

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

This ignores stencil for now and focuses on depth testing without support for early depth testing.

To implement this we need to start considering how many of our framebuffer attachments are color attachments, since some of the computations we use to determine tile sizes and binning configuration depend on this.

Part-of:

4d0e497a3e6 v3dv: implement support for depth testing
src/broadcom/vulkan/v3dv_cmd_buffer.c | 118 ++++++++++++++++++++++++++++++----
src/broadcom/vulkan/v3dv_device.c | 11 +++-
src/broadcom/vulkan/v3dv_formats.c | 31 ++++++---
src/broadcom/vulkan/v3dv_image.c | 4 --
src/broadcom/vulkan/v3dv_meta_copy.c | 1 +
src/broadcom/vulkan/v3dv_pipeline.c | 6 +-
src/broadcom/vulkan/v3dv_private.h | 1 +
7 files changed, 142 insertions(+), 30 deletions(-)

Upstream: cgit.freedesktop.org


  • Share