Skip to content

Commit 3408a3b

Browse files
committed
Null out "before" change completely not just clear the name
1 parent 6b39f8d commit 3408a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderdoc/driver/shaders/spirv/spirv_debug.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ void ThreadState::WritePointerValue(Id pointer, const ShaderVariable &val)
403403
// if this is the first local write, mark this variable as becoming alive here, instead of at
404404
// its declaration
405405
if(firstLocalWrite)
406-
basechange.before.name = "";
406+
basechange.before = {};
407407

408408
m_State->changes.push_back(basechange);
409409

0 commit comments

Comments
 (0)