anv: Add TRANSFER_SRC to pass usage not subpass usage

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [jlekstrand.net] - 28 April 2020 22:45 EDT

The subpass usage flags are supposed to always be one bit and never multiple bits. However, when adding in TRANSFER_SRC usage for resolve attachments we were adding it to the subpass bits and not the render pass bits. This potentially is causing issues where images aren't getting marked written properly.

5808efdf40d anv: Add TRANSFER_SRC to pass usage not subpass usage
src/intel/vulkan/anv_pass.c | 18 +++++++++++++++---
src/intel/vulkan/genX_cmd_buffer.c | 1 +
2 files changed, 16 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share