I'm currently working on a project involving Vulkan API for graphics rendering, and I've encountered a perplexing issue related to vkCmdEndRenderPass specifically on AMD GPUs. I'm reaching out to this community in hopes of finding some guidance or insights to help me troubleshoot and resolve this problem.
When using vkCmdEndRenderPass to end a render pass, I've noticed that on AMD GPUs, there are intermittent render errors occurring. These errors manifest as artifacts or distortions in the final rendered image. This behavior is not observed consistently across all GPUs and seems to be more prevalent on AMD hardware.
// Code snippet demonstrating the usage of vkCmdEndRenderPass
// Please let me know if you spot any issues here
VkCommandBuffer cmdBuffer = ...; // Command buffer for rendering
vkCmdEndRenderPass(cmdBuffer);