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:
Józef Kucia 2017-10-19 10:07:27 +02:00 committed by Alexandre Julliard
parent e162ae2333
commit 0832b5cded
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}