Skip to content

Commit b10eba4

Browse files
committed
VulkanDevice: Disable fbfetch on LLVMpipe
Rendering behaviour with llvmpipe + fbfetch is very strange, it fails to read push constants sometimes?? Driver bug?
1 parent 1ccd750 commit b10eba4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/util/vulkan_device.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,12 @@ bool VulkanDevice::EnableOptionalDeviceExtensions(VkPhysicalDevice physical_devi
653653
"Disabling VK_EXT_fragment_shader_interlock and VK_KHR_dynamic_rendering_local_read on broken AMD driver.");
654654
#endif
655655
}
656+
else if (m_driver_type == GPUDriverType::LLVMPipe)
657+
{
658+
// Rendering behaviour with llvmpipe + fbfetch is very strange, it fails to read push constants sometimes??
659+
m_optional_extensions.vk_ext_rasterization_order_attachment_access = false;
660+
WARNING_LOG("Disabling VK_EXT_rasterization_order_attachment_access on llvmpipe driver.");
661+
}
656662

657663
// Actually enable the extensions. See above for VK1.1 reasoning.
658664
if (m_device_properties.apiVersion >= VK_API_VERSION_1_1)

0 commit comments

Comments
 (0)