wined3d: Skip unhandled stream output components.
This should at least avoid trashing other stream output elements. 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
e162ae2333
commit
0832b5cded
|
@ -839,6 +839,8 @@ static void shader_glsl_generate_transform_feedback_varyings(const struct wined3
|
|||
if (e->component_idx || e->component_count != 4)
|
||||
{
|
||||
FIXME("Unsupported component range %u-%u.\n", e->component_idx, e->component_count);
|
||||
append_transform_feedback_skip_components(varyings, &count,
|
||||
&strings, &length, buffer, e->component_count);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue