GS/Vulkan: Use fbfetch flag for subpass dependency

llvmpipe apparently supports raster order attachment access now, and if you force-disable fbfetch, it wasn't creating the render passes with the self-dependency declared.
This commit is contained in:
Connor McLaughlin 2024-02-16 21:55:51 +09:00 committed by refractionpcsx2
parent f81d555f7e
commit 689a512f5d
1 changed files with 1 additions and 1 deletions

View File

@ -1579,7 +1579,7 @@ VkRenderPass GSDeviceVK::CreateCachedRenderPass(RenderPassCacheKey key)
input_reference_ptr = &input_reference;
}
if (!m_optional_extensions.vk_ext_rasterization_order_attachment_access)
if (!m_features.framebuffer_fetch)
{
// don't need the framebuffer-local dependency when we have rasterization order attachment access
subpass_dependency.srcSubpass = 0;