vkd3d: Add topology type to pipeline state.

Needed to build dynamic pipeline.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2020-06-24 13:25:15 +02:00
parent fc0a94ad04
commit 551bc54546
2 changed files with 2 additions and 0 deletions

View File

@ -2219,6 +2219,7 @@ static HRESULT d3d12_pipeline_state_init_graphics(struct d3d12_pipeline_state *s
state->refcount = 1;
graphics->stage_count = 0;
graphics->primitive_topology_type = desc->primitive_topology_type;
memset(&input_signature, 0, sizeof(input_signature));

View File

@ -899,6 +899,7 @@ struct d3d12_graphics_pipeline_state
size_t instance_divisor_count;
size_t attribute_binding_count;
size_t attribute_count;
D3D12_PRIMITIVE_TOPOLOGY_TYPE primitive_topology_type;
VkPipelineColorBlendAttachmentState blend_attachments[D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT];
unsigned int rt_count;