d3d10/effect: Create shaders with stream output when declaration string is present.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-01 16:04:32 +03:00 committed by Alexandre Julliard
parent a3a2ae7d97
commit 2327ae70ae
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ static HRESULT parse_fx10_shader(const char *data, size_t data_size, DWORD offse
break;
case D3D10_SVT_GEOMETRYSHADER:
if (v->type->flags & D3D10_EOT_FLAG_GS_SO)
if (v->u.shader.stream_output_declaration)
{
struct d3d10_effect_so_decl so_decl;