wined3d: Allow stream output with domain shaders.

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 2018-10-03 12:32:20 +02:00 committed by Alexandre Julliard
parent 10ede9332a
commit 272414177f
1 changed files with 1 additions and 3 deletions

View File

@ -3815,13 +3815,11 @@ static HRESULT geometry_shader_init_stream_output(struct wined3d_shader *shader,
switch (shader_version.type)
{
case WINED3D_SHADER_TYPE_VERTEX:
case WINED3D_SHADER_TYPE_DOMAIN:
heap_free(shader->function);
shader->function = NULL;
shader->functionLength = 0;
break;
case WINED3D_SHADER_TYPE_DOMAIN:
FIXME("Stream output not supported for %s.\n", debug_shader_type(shader_version.type));
return E_NOTIMPL;
case WINED3D_SHADER_TYPE_GEOMETRY:
break;
default: