Ignore static used binds when allocating feedback slots

This commit is contained in:
baldurk
2021-09-24 10:59:06 +01:00
parent 77785cfe1f
commit 5c87ee069f
@@ -336,6 +336,10 @@ static bool AnnotateDXILShader(const DXBC::DXBCContainer *dxbc, uint32_t space,
if(it == slots.end())
continue;
// static used i.e. not arrayed? ignore
if(it->second.StaticUsed())
continue;
uint32_t feedbackSlot = it->second.Slot();
// we assume all feedback slots are non-zero, so that a 0 base slot can be used as an