summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2022-06-29 22:35:06 +0200
committerGitHub <noreply@github.com>2022-06-29 22:35:06 +0200
commitd41ffb592cf7f468d91cf32b03d6a2c5225681b2 (patch)
tree5e6693ed56cdca5c3e7b790a4a9d937b81393ccc /src/video_core/vulkan_common
parentMerge pull request #8512 from german77/nnResult (diff)
downloadyuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar.gz
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar.bz2
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar.lz
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar.xz
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.tar.zst
yuzu-d41ffb592cf7f468d91cf32b03d6a2c5225681b2.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 11ce865a7..743ac09f6 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -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.