mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fix D3D12 InputSlot when having streams w/ instances (#2853)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user