=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Skip unhandled stream output components.

Alexandre Julliard julliard at winehq.org
Thu Oct 19 14:31:34 CDT 2017


Module: wine
Branch: master
Commit: 0832b5cded389096dcf74ac93367ae4ee4b8d35b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0832b5cded389096dcf74ac93367ae4ee4b8d35b

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Oct 19 10:07:27 2017 +0200

wined3d: Skip unhandled stream output components.

This should at least avoid trashing other stream output elements.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/glsl_shader.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index a03f179..108bd18 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -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;
             }
 




More information about the wine-cvs mailing list