radv: Add render loop detection in renderpass

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 7 August 2019 00:13 EDT

VK spec 7.3:

"Applications must ensure that all accesses to memory that backs image subresources used as attachments in a given renderpass instance either happen-before the load operations for those attachments, or happen-after the store operations for those attachments."

So the only renderloops we can have is with input attachments. Detect these.

a171a6663d7 radv: Add render loop detection in renderpass.
src/amd/vulkan/radv_pass.c | 18 ++++++++++++++++++
src/amd/vulkan/radv_private.h | 1 +
2 files changed, 19 insertions(+)

Upstream: cgit.freedesktop.org


  • Share