v3dv: initial support for input attachments

Graphics / Mesa 3D Graphics Library / Mesa - Alejandro PiƱeiro [igalia.com] - 13 October 2020 21:21 UTC

We are treating them as a special case of texture, so the commit is mostly about integrating them with the existing SAMPLER/SAMPLER_IMAGE/COMBINED_IMAGE_SAMPLER infrastructure.

This commit doesn't use in any special way the render pass information, including the dependencies, so it is possible that we would need to do something else. But this commit gets several CTS tests, and two Sascha Willem Vulkan demos, so let's start with this commit and handle any other use case for following commits.


9833a5ae704 v3dv: initial support for input attachments
src/broadcom/vulkan/v3dv_cmd_buffer.c | 3 +--
src/broadcom/vulkan/v3dv_descriptor_set.c | 11 +++++++++--
src/broadcom/vulkan/v3dv_pass.c | 12 +++++++++++-
src/broadcom/vulkan/v3dv_pipeline.c | 9 ++++++++-
4 files changed, 29 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org

  • Share