mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 16:20:10 +00:00
vulkan_device: Enable VK_EXT_extended_dynamic_state on RADV 21.2 onward
This commit is contained in:
parent
8722668b3c
commit
57171b23f9
@ -511,11 +511,14 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|||||||
CollectToolingInfo();
|
CollectToolingInfo();
|
||||||
|
|
||||||
if (ext_extended_dynamic_state && driver_id == VK_DRIVER_ID_MESA_RADV) {
|
if (ext_extended_dynamic_state && driver_id == VK_DRIVER_ID_MESA_RADV) {
|
||||||
LOG_WARNING(
|
// Mask driver version variant
|
||||||
Render_Vulkan,
|
const u32 version = (properties.driverVersion << 3) >> 3;
|
||||||
"Blacklisting RADV for VK_EXT_extended_dynamic state, likely due to a bug in yuzu");
|
if (version < VK_MAKE_API_VERSION(0, 21, 2, 0)) {
|
||||||
|
LOG_WARNING(Render_Vulkan,
|
||||||
|
"RADV versions older than 21.2 have broken VK_EXT_extended_dynamic_state");
|
||||||
ext_extended_dynamic_state = false;
|
ext_extended_dynamic_state = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (ext_vertex_input_dynamic_state && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
if (ext_vertex_input_dynamic_state && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
||||||
LOG_WARNING(Render_Vulkan, "Blacklisting Intel for VK_EXT_vertex_input_dynamic_state");
|
LOG_WARNING(Render_Vulkan, "Blacklisting Intel for VK_EXT_vertex_input_dynamic_state");
|
||||||
ext_vertex_input_dynamic_state = false;
|
ext_vertex_input_dynamic_state = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user