diff options
| author | 2021-06-02 04:28:59 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:34 -0400 | |
| commit | 8f099af6a8ea691c5f8f1403848ca42077b34bd6 (patch) | |
| tree | 390117ff78bff8df81c1f2f6cd7d89657802f92a /src | |
| parent | vk_pipeline_cache: Set support_derivative_control to true (diff) | |
| download | yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.gz yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.xz yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.zip | |
nsight_aftermath_tracker: Fix SPIR-V module writes
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/vulkan_common/nsight_aftermath_tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp b/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp index 209cb1e0a..fdd1a5081 100644 --- a/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp +++ b/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp | |||
| @@ -99,7 +99,7 @@ void NsightAftermathTracker::SaveShader(std::span<const u32> spirv) const { | |||
| 99 | LOG_ERROR(Render_Vulkan, "Failed to dump SPIR-V module with hash={:016x}", hash.hash); | 99 | LOG_ERROR(Render_Vulkan, "Failed to dump SPIR-V module with hash={:016x}", hash.hash); |
| 100 | return; | 100 | return; |
| 101 | } | 101 | } |
| 102 | if (file.Write(spirv) != spirv.size()) { | 102 | if (file.WriteSpan(spirv) != spirv.size()) { |
| 103 | LOG_ERROR(Render_Vulkan, "Failed to write SPIR-V module with hash={:016x}", hash.hash); | 103 | LOG_ERROR(Render_Vulkan, "Failed to write SPIR-V module with hash={:016x}", hash.hash); |
| 104 | return; | 104 | return; |
| 105 | } | 105 | } |