From 32bc3e9761aad7f21e95199fc21b10062c80bd02 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 16 Feb 2024 21:55:51 +0900 Subject: [PATCH] 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. --- pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp index 079c032f6a5b4..9490e6533e7bf 100644 --- a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp +++ b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp @@ -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;