mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 13:51:31 +00:00
Fix DXIL Load of a single element from a global array Closes #3549
This commit is contained in:
1 parent
8dc2929ec1
commit
ab3e46d26d
1 file changed
+1
-1
@@ -4290,7 +4290,7 @@ bool ThreadState::ExecuteInstruction(DebugAPIWrapper *apiWrapper,
|
||||
}
|
||||
const MemoryTracking::Allocation &allocation = itAlloc->second;
|
||||
ShaderVariable arg;
|
||||
if(allocation.global)
|
||||
if(allocation.global && !IsVariableAssigned(ptrId))
|
||||
{
|
||||
RDCASSERT(IsVariableAssigned(baseMemoryId));
|
||||
arg = m_Variables[baseMemoryId];
|
||||
|
||||
Reference in new issue
Block a user