mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-17 15:30:51 +00:00
Fix DXIL Load of a single element from a global array Closes #3549
This commit is contained in:
@@ -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