Fix D3D12 InputSlot when having streams w/ instances (#2853)
This commit is contained in:
parent
8461f3406e
commit
bedab93431
@ -2716,7 +2716,7 @@ namespace bgfx { namespace d3d12
|
||||
}
|
||||
|
||||
bx::memCopy(curr, &inst, sizeof(D3D12_INPUT_ELEMENT_DESC) );
|
||||
curr->InputSlot = 1;
|
||||
curr->InputSlot = _numStreams;
|
||||
curr->SemanticIndex = index;
|
||||
curr->AlignedByteOffset = ii*16;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user