Skip to content

Commit

Permalink
VulkanDevice: Blacklist FSI on AMD Windows
Browse files Browse the repository at this point in the history
Yay for random GPU resets, it's fine on NVIDIA.
  • Loading branch information
stenzek committed Dec 11, 2024
1 parent 1edcc8c commit 5eac1e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/util/vulkan_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,12 @@ bool VulkanDevice::SelectDeviceExtensions(ExtensionList* extension_list, bool en
{
// VK_KHR_dynamic_rendering_local_read appears to be broken on RDNA3, like everything else...
// Just causes GPU resets when you actually use a feedback loop. Assume Mesa is fine.
// VK_EXT_fragment_shader_interlock is similar, random GPU hangs.
#if defined(_WIN32) || defined(__ANDROID__)
m_optional_extensions.vk_ext_fragment_shader_interlock = false;
m_optional_extensions.vk_khr_dynamic_rendering_local_read = false;
WARNING_LOG("Disabling VK_KHR_dynamic_rendering_local_read on broken AMD driver.");
WARNING_LOG(
"Disabling VK_EXT_fragment_shader_interlock and VK_KHR_dynamic_rendering_local_read on broken AMD driver.");
#endif
}

Expand Down

0 comments on commit 5eac1e4

Please sign in to comment.