mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 14:01:21 -08:00
nsight_aftermath_tracker: Fix SPIR-V module writes
This commit is contained in:
parent
8c954fcaee
commit
8f099af6a8
@ -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);
|
LOG_ERROR(Render_Vulkan, "Failed to dump SPIR-V module with hash={:016x}", hash.hash);
|
||||||
return;
|
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);
|
LOG_ERROR(Render_Vulkan, "Failed to write SPIR-V module with hash={:016x}", hash.hash);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user