Commit 0832b5cd authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Skip unhandled stream output components.

This should at least avoid trashing other stream output elements. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e162ae23
...@@ -839,6 +839,8 @@ static void shader_glsl_generate_transform_feedback_varyings(const struct wined3 ...@@ -839,6 +839,8 @@ static void shader_glsl_generate_transform_feedback_varyings(const struct wined3
if (e->component_idx || e->component_count != 4) if (e->component_idx || e->component_count != 4)
{ {
FIXME("Unsupported component range %u-%u.\n", e->component_idx, e->component_count); 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; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment