summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-02 09:28:59 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:34 +0200
commit8f099af6a8ea691c5f8f1403848ca42077b34bd6 (patch)
tree390117ff78bff8df81c1f2f6cd7d89657802f92a /src/video_core
parentvk_pipeline_cache: Set support_derivative_control to true (diff)
downloadyuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.gz
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.bz2
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.lz
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.xz
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.tar.zst
yuzu-8f099af6a8ea691c5f8f1403848ca42077b34bd6.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/nsight_aftermath_tracker.cpp2
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 {
LOG_ERROR(Render_Vulkan, "Failed to dump SPIR-V module with hash={:016x}", hash.hash);
return;
}
- if (file.Write(spirv) != spirv.size()) {
+ if (file.WriteSpan(spirv) != spirv.size()) {
LOG_ERROR(Render_Vulkan, "Failed to write SPIR-V module with hash={:016x}", hash.hash);
return;
}