diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-07 20:09:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 20:09:03 +0200 |
commit | cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a (patch) | |
tree | 6b9bda6059babf2812572f493a530454da7fbe06 /src/video_core/vulkan_common | |
parent | Merge pull request #10189 from Qigo42/master (diff) | |
parent | Log object names with debug renderer, add a GPU address to ImageViews (diff) | |
download | yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar.gz yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar.bz2 yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar.lz yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar.xz yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.tar.zst yuzu-cb49c3b64cb0a4391ca33eb95526ceb3b2ba244a.zip |
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 7d5018151..5f1c63ff9 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -10,6 +10,7 @@ #include <vector> #include "common/common_types.h" +#include "common/settings.h" #include "video_core/vulkan_common/vulkan_wrapper.h" // Define all features which may be used by the implementation here. @@ -510,7 +511,7 @@ public: /// Returns true when a known debugging tool is attached. bool HasDebuggingToolAttached() const { - return has_renderdoc || has_nsight_graphics; + return has_renderdoc || has_nsight_graphics || Settings::values.renderer_debug.GetValue(); } /// Returns true when the device does not properly support cube compatibility. |