diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-04 18:14:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 18:14:06 +0100 |
commit | ec547824f1f6c347339895057288a990222f21f8 (patch) | |
tree | 2c2e2d8c82aa7113d90882a63fdf4ea2e475be09 /src/video_core/renderer_vulkan/renderer_vulkan.cpp | |
parent | Merge pull request #9379 from liamwhite/cmake-mess (diff) | |
parent | vulkan_common: add feature test for shaderDrawParameters (diff) | |
download | yuzu-ec547824f1f6c347339895057288a990222f21f8.tar yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.gz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.bz2 yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.lz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.xz yuzu-ec547824f1f6c347339895057288a990222f21f8.tar.zst yuzu-ec547824f1f6c347339895057288a990222f21f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/renderer_vulkan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp index c2a95200b..18be54729 100644 --- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp +++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp @@ -45,14 +45,14 @@ std::string GetDriverVersion(const Device& device) { // https://github.com/SaschaWillems/vulkan.gpuinfo.org/blob/5dddea46ea1120b0df14eef8f15ff8e318e35462/functions.php#L308-L314 const u32 version = device.GetDriverVersion(); - if (device.GetDriverID() == VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR) { + if (device.GetDriverID() == VK_DRIVER_ID_NVIDIA_PROPRIETARY) { const u32 major = (version >> 22) & 0x3ff; const u32 minor = (version >> 14) & 0x0ff; const u32 secondary = (version >> 6) & 0x0ff; const u32 tertiary = version & 0x003f; return fmt::format("{}.{}.{}.{}", major, minor, secondary, tertiary); } - if (device.GetDriverID() == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR) { + if (device.GetDriverID() == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { const u32 major = version >> 14; const u32 minor = version & 0x3fff; return fmt::format("{}.{}", major, minor); |