mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 18:50:04 +00:00
Revert "vulkan_device: Block AMDVLK's VK_KHR_push_descriptor"
This commit is contained in:
parent
01bc0c84f0
commit
d41ffb592c
@ -669,17 +669,6 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||
const bool is_amd =
|
||||
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE;
|
||||
if (is_amd) {
|
||||
// TODO(lat9nq): Add an upper bound when AMD fixes their VK_KHR_push_descriptor
|
||||
const bool has_broken_push_descriptor = VK_VERSION_MAJOR(properties.driverVersion) == 2 &&
|
||||
VK_VERSION_MINOR(properties.driverVersion) == 0 &&
|
||||
VK_VERSION_PATCH(properties.driverVersion) >= 226;
|
||||
if (khr_push_descriptor && has_broken_push_descriptor) {
|
||||
LOG_WARNING(
|
||||
Render_Vulkan,
|
||||
"Disabling AMD driver 2.0.226 and later from broken VK_KHR_push_descriptor");
|
||||
khr_push_descriptor = false;
|
||||
}
|
||||
|
||||
// AMD drivers need a higher amount of Sets per Pool in certain circunstances like in XC2.
|
||||
sets_per_pool = 96;
|
||||
// Disable VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT on AMD GCN4 and lower as it is broken.
|
||||
|
Loading…
Reference in New Issue
Block a user