vkd3d: Enable transform feedback for pipeline states with stream output.

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:
Józef Kucia
2019-01-14 17:05:45 +01:00
committed by Alexandre Julliard
parent 1aae46fb2f
commit 1e4f8e39c9
3 changed files with 26 additions and 0 deletions

View File

@@ -2165,6 +2165,7 @@ static HRESULT d3d12_pipeline_state_init_graphics(struct d3d12_pipeline_state *s
}
}
graphics->xfb_enabled = false;
if (so_desc->NumEntries)
{
if (!vk_info->EXT_transform_feedback)
@@ -2174,6 +2175,8 @@ static HRESULT d3d12_pipeline_state_init_graphics(struct d3d12_pipeline_state *s
goto fail;
}
graphics->xfb_enabled = true;
xfb_info.type = VKD3D_SHADER_STRUCTURE_TYPE_TRANSFORM_FEEDBACK_INFO;
xfb_info.next = NULL;