[d3d11] Store private refs for VB + IB bindings

This commit is contained in:
Joshua Ashton 2022-09-16 06:51:51 +00:00 committed by Philip Rebohle
parent 9bfe46ac50
commit 9545281542
1 changed files with 6 additions and 6 deletions

View File

@ -145,15 +145,15 @@ namespace dxvk {
* input layout, and the dynamic primitive topology.
*/
struct D3D11VertexBufferBinding {
Com<D3D11Buffer> buffer = nullptr;
UINT offset = 0;
UINT stride = 0;
Com<D3D11Buffer, false> buffer = nullptr;
UINT offset = 0;
UINT stride = 0;
};
struct D3D11IndexBufferBinding {
Com<D3D11Buffer> buffer = nullptr;
UINT offset = 0;
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN;
Com<D3D11Buffer, false> buffer = nullptr;
UINT offset = 0;
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN;
};
struct D3D11ContextStateIA {