diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-21 20:37:41 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-29 21:53:11 +0100 |
commit | 788d57d723ba7e857b4872d12b698ed5cef45fd7 (patch) | |
tree | 1a2cf5a410e6688d62e3ff3fdf07b5749bd07663 /src/video_core/renderer_vulkan/vk_device.cpp | |
parent | core: Only wait for idle on gpu_core when it was initialized (diff) | |
download | yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar.gz yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar.bz2 yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar.lz yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar.xz yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.tar.zst yuzu-788d57d723ba7e857b4872d12b698ed5cef45fd7.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_device.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_device.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp index 939eebe83..9840f26e5 100644 --- a/src/video_core/renderer_vulkan/vk_device.cpp +++ b/src/video_core/renderer_vulkan/vk_device.cpp @@ -400,8 +400,10 @@ std::vector<const char*> VKDevice::LoadExtensions(const vk::DispatchLoaderDynami VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME, true); Test(extension, ext_subgroup_size_control, VK_EXT_SUBGROUP_SIZE_CONTROL_EXTENSION_NAME, false); - Test(extension, nv_device_diagnostic_checkpoints, - VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME, true); + if (Settings::values.renderer_debug) { + Test(extension, nv_device_diagnostic_checkpoints, + VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME, true); + } } if (khr_shader_float16_int8) { |