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:
parent
10ede9332a
commit
272414177f
|
@ -3815,13 +3815,11 @@ static HRESULT geometry_shader_init_stream_output(struct wined3d_shader *shader,
|
||||||
switch (shader_version.type)
|
switch (shader_version.type)
|
||||||
{
|
{
|
||||||
case WINED3D_SHADER_TYPE_VERTEX:
|
case WINED3D_SHADER_TYPE_VERTEX:
|
||||||
|
case WINED3D_SHADER_TYPE_DOMAIN:
|
||||||
heap_free(shader->function);
|
heap_free(shader->function);
|
||||||
shader->function = NULL;
|
shader->function = NULL;
|
||||||
shader->functionLength = 0;
|
shader->functionLength = 0;
|
||||||
break;
|
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:
|
case WINED3D_SHADER_TYPE_GEOMETRY:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue