diff options
| author | 2023-05-06 03:54:20 +0100 | |
|---|---|---|
| committer | 2023-05-06 04:48:32 +0100 | |
| commit | ca6bf06ef7e1a8b198167822a510b9f5ee43dec7 (patch) | |
| tree | 0f8e113c96399c61624652df0a26dd008d379b23 /src/video_core/vulkan_common | |
| parent | Merge pull request #10159 from german77/home_screenshot (diff) | |
| download | yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.gz yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.tar.xz yuzu-ca6bf06ef7e1a8b198167822a510b9f5ee43dec7.zip | |
Log object names with debug renderer, add a GPU address to ImageViews
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 @@ | |||
| 10 | #include <vector> | 10 | #include <vector> |
| 11 | 11 | ||
| 12 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| 13 | #include "common/settings.h" | ||
| 13 | #include "video_core/vulkan_common/vulkan_wrapper.h" | 14 | #include "video_core/vulkan_common/vulkan_wrapper.h" |
| 14 | 15 | ||
| 15 | // Define all features which may be used by the implementation here. | 16 | // Define all features which may be used by the implementation here. |
| @@ -510,7 +511,7 @@ public: | |||
| 510 | 511 | ||
| 511 | /// Returns true when a known debugging tool is attached. | 512 | /// Returns true when a known debugging tool is attached. |
| 512 | bool HasDebuggingToolAttached() const { | 513 | bool HasDebuggingToolAttached() const { |
| 513 | return has_renderdoc || has_nsight_graphics; | 514 | return has_renderdoc || has_nsight_graphics || Settings::values.renderer_debug.GetValue(); |
| 514 | } | 515 | } |
| 515 | 516 | ||
| 516 | /// Returns true when the device does not properly support cube compatibility. | 517 | /// Returns true when the device does not properly support cube compatibility. |