VulkanDevice: Disable fbfetch on LLVMpipe

Rendering behaviour with llvmpipe + fbfetch is very strange, it fails
to read push constants sometimes??

Driver bug?
This commit is contained in:
Stenzek
2025-12-16 20:47:45 +10:00
parent 1ccd7508a8
commit b10eba419a

View File

@@ -653,6 +653,12 @@ bool VulkanDevice::EnableOptionalDeviceExtensions(VkPhysicalDevice physical_devi
"Disabling VK_EXT_fragment_shader_interlock and VK_KHR_dynamic_rendering_local_read on broken AMD driver.");
#endif
}
else if (m_driver_type == GPUDriverType::LLVMPipe)
{
// Rendering behaviour with llvmpipe + fbfetch is very strange, it fails to read push constants sometimes??
m_optional_extensions.vk_ext_rasterization_order_attachment_access = false;
WARNING_LOG("Disabling VK_EXT_rasterization_order_attachment_access on llvmpipe driver.");
}
// Actually enable the extensions. See above for VK1.1 reasoning.
if (m_device_properties.apiVersion >= VK_API_VERSION_1_1)