diff options
author | Liam <byteslice@airmail.cc> | 2022-12-03 16:37:12 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-04 16:55:13 +0100 |
commit | 18831e0933231661a99e713c4a4fc94153ef0c3b (patch) | |
tree | 6b115f7cdb1817941be071a91c28a8a96a804fe8 /src/video_core/renderer_vulkan/maxwell_to_vk.cpp | |
parent | vulkan_common: correct usage of timeline semaphore fallbacks (diff) | |
download | yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.gz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.bz2 yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.lz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.xz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.zst yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/maxwell_to_vk.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 430a84272..3e03c5cd6 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -58,7 +58,7 @@ VkSamplerAddressMode WrapMode(const Device& device, Tegra::Texture::WrapMode wra case Tegra::Texture::WrapMode::Border: return VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER; case Tegra::Texture::WrapMode::Clamp: - if (device.GetDriverID() == VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR) { + if (device.GetDriverID() == VK_DRIVER_ID_NVIDIA_PROPRIETARY) { // Nvidia's Vulkan driver defaults to GL_CLAMP on invalid enumerations, we can hack this // by sending an invalid enumeration. return static_cast<VkSamplerAddressMode>(0xcafe); |