diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-03 22:56:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 22:56:25 +0100 |
commit | c31ec00d676f6dda0bebee70d7a0b230e5babee9 (patch) | |
tree | 52c674cace5652f5d359dedd02ee01f911559192 /src/video_core/renderer_vulkan/vk_device.cpp | |
parent | Merge pull request #3374 from lioncash/udp (diff) | |
parent | ci: Disable Vulkan for Windows MinGW builds (diff) | |
download | yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.gz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.bz2 yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.lz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.xz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.zst yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.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) { |