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:
parent
fc0a94ad04
commit
551bc54546
|
@ -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));
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue