diff options
| author | 2021-07-08 17:22:31 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:35 -0400 | |
| commit | 373f75d944473731408d7a72c967d5c4b37af5bb (patch) | |
| tree | a6af34845e9cae1429bbd004a36b324bb02f9932 /src/video_core/vulkan_common | |
| parent | shader: Comment why the array component is not read in TMML (diff) | |
| download | yuzu-373f75d944473731408d7a72c967d5c4b37af5bb.tar.gz yuzu-373f75d944473731408d7a72c967d5c4b37af5bb.tar.xz yuzu-373f75d944473731408d7a72c967d5c4b37af5bb.zip | |
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 8eb37a77a..bf063c047 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -467,7 +467,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 467 | } | 467 | } |
| 468 | 468 | ||
| 469 | VkDeviceDiagnosticsConfigCreateInfoNV diagnostics_nv; | 469 | VkDeviceDiagnosticsConfigCreateInfoNV diagnostics_nv; |
| 470 | if (nv_device_diagnostics_config) { | 470 | if (Settings::values.enable_nsight_aftermath && nv_device_diagnostics_config) { |
| 471 | nsight_aftermath_tracker = std::make_unique<NsightAftermathTracker>(); | 471 | nsight_aftermath_tracker = std::make_unique<NsightAftermathTracker>(); |
| 472 | 472 | ||
| 473 | diagnostics_nv = { | 473 | diagnostics_nv = { |
| @@ -781,7 +781,7 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) { | |||
| 781 | test(has_ext_shader_atomic_int64, VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME, false); | 781 | test(has_ext_shader_atomic_int64, VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME, false); |
| 782 | test(has_khr_workgroup_memory_explicit_layout, | 782 | test(has_khr_workgroup_memory_explicit_layout, |
| 783 | VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_EXTENSION_NAME, false); | 783 | VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_EXTENSION_NAME, false); |
| 784 | if (Settings::values.renderer_debug) { | 784 | if (Settings::values.enable_nsight_aftermath) { |
| 785 | test(nv_device_diagnostics_config, VK_NV_DEVICE_DIAGNOSTICS_CONFIG_EXTENSION_NAME, | 785 | test(nv_device_diagnostics_config, VK_NV_DEVICE_DIAGNOSTICS_CONFIG_EXTENSION_NAME, |
| 786 | true); | 786 | true); |
| 787 | } | 787 | } |