diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 06:51:22 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 06:51:22 +0200 |
commit | 5601e1cb00159c03266b574cd2433e9cc0cb3209 (patch) | |
tree | 82f795de92021cf217d070e01179f4f432c8fdbd | |
parent | Merge pull request #7009 from ameerj/main_process_cleanup (diff) | |
download | yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar.gz yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar.bz2 yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar.lz yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar.xz yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.tar.zst yuzu-5601e1cb00159c03266b574cd2433e9cc0cb3209.zip |
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 24fb50db9..910e63a25 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -243,7 +243,6 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR SetupFamilies(surface); SetupFeatures(); SetupProperties(); - CollectTelemetryParameters(); const auto queue_cis = GetDeviceQueueCreateInfos(); const std::vector extensions = LoadExtensions(surface != nullptr); @@ -369,18 +368,6 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR }; SetNext(next, demote); - if (driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE) { - const u32 version = properties.driverVersion; - // Broken in this driver - if (version > VK_MAKE_API_VERSION(0, 2, 0, 193)) { - LOG_WARNING(Render_Vulkan, "AMD proprietary driver versions newer than 21.9.1 " - "(windows) / 0.2.0.194 (amdvlk) have " - "broken VkPhysicalDeviceFloat16Int8FeaturesKHR"); - is_int8_supported = false; - is_float16_supported = false; - } - } - if (is_int8_supported || is_float16_supported) { VkPhysicalDeviceFloat16Int8FeaturesKHR float16_int8{ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR, @@ -573,6 +560,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR logical = vk::Device::Create(physical, queue_cis, extensions, first_next, dld); CollectPhysicalMemoryInfo(); + CollectTelemetryParameters(); CollectToolingInfo(); if (driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR) { |