1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-15 07:29:17 +01:00

[d3d11] Store private refs for IA layout

This commit is contained in:
Joshua Ashton 2022-09-16 06:53:58 +00:00 committed by Philip Rebohle
parent 9545281542
commit ca38cebe0b

View File

@ -157,7 +157,7 @@ namespace dxvk {
}; };
struct D3D11ContextStateIA { struct D3D11ContextStateIA {
Com<D3D11InputLayout> inputLayout = nullptr; Com<D3D11InputLayout, false> inputLayout = nullptr;
D3D11_PRIMITIVE_TOPOLOGY primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED; D3D11_PRIMITIVE_TOPOLOGY primitiveTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED;
std::array<D3D11VertexBufferBinding, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT> vertexBuffers = { }; std::array<D3D11VertexBufferBinding, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT> vertexBuffers = { };