diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index 5299178d5..a15b0a6a8 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -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; }