mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Use create_pipeline_state() in more places.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
4ff26ef3c4
commit
374d56fc8e
@@ -486,8 +486,11 @@ static void init_pipeline_state_desc(D3D12_GRAPHICS_PIPELINE_STATE_DESC *desc,
|
||||
desc->InputLayout = *input_layout;
|
||||
desc->SampleMask = ~(UINT)0;
|
||||
desc->PrimitiveTopologyType = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE;
|
||||
desc->NumRenderTargets = 1;
|
||||
desc->RTVFormats[0] = rt_format;
|
||||
if (rt_format)
|
||||
{
|
||||
desc->NumRenderTargets = 1;
|
||||
desc->RTVFormats[0] = rt_format;
|
||||
}
|
||||
desc->SampleDesc.Count = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user