mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Don't force register mapping component to 0 for built-ins. Closes #1646
This commit is contained in:
@@ -1256,7 +1256,6 @@ SPDBChunk::SPDBChunk(Reflection *reflection, void *chunk)
|
||||
if(reflection->OutputSig[i].systemValue == mapping.var.builtin)
|
||||
{
|
||||
regindex = (uint32_t)i;
|
||||
regfirstcomp = 0;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
@@ -1269,7 +1268,6 @@ SPDBChunk::SPDBChunk(Reflection *reflection, void *chunk)
|
||||
if(reflection->InputSig[i].systemValue == mapping.var.builtin)
|
||||
{
|
||||
regindex = (uint32_t)i;
|
||||
regfirstcomp = 0;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user