mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 16:05:46 +00:00
nsight_aftermath_tracker: Fix SPIR-V module writes
This commit is contained in:
parent
99e3490f64
commit
11fab60557
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue