fix: Disable VK_EXT_tooling_info on AMD proprietary for now.

This commit is contained in:
squidbus 2025-02-09 16:34:20 -08:00
parent 22357f70c2
commit 843cd01308

View file

@ -254,7 +254,9 @@ bool Instance::CreateDevice() {
add_extension(VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
add_extension(VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME);
add_extension(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
tooling_info = add_extension(VK_EXT_TOOLING_INFO_EXTENSION_NAME);
// Currently causes issues with Reshade on AMD proprietary, disable until figured out.
tooling_info = GetDriverID() != vk::DriverId::eAmdProprietary &&
add_extension(VK_EXT_TOOLING_INFO_EXTENSION_NAME);
const bool maintenance4 = add_extension(VK_KHR_MAINTENANCE_4_EXTENSION_NAME);
add_extension(VK_KHR_SWAPCHAIN_EXTENSION_NAME);