Null out "before" change completely not just clear the name

This commit is contained in:
Jake Turner
2025-05-08 15:31:26 +01:00
parent 6b39f8de88
commit 3408a3be86
@@ -403,7 +403,7 @@ void ThreadState::WritePointerValue(Id pointer, const ShaderVariable &val)
// if this is the first local write, mark this variable as becoming alive here, instead of at
// its declaration
if(firstLocalWrite)
basechange.before.name = "";
basechange.before = {};
m_State->changes.push_back(basechange);