[PATCH 3/3] wined3d: Do not pause transform feedback after every draw call.

Zebediah Figura zfigura at codeweavers.com
Wed Jun 1 19:42:19 CDT 2022


Besides being unnecessary, this triggers a bug in radeonsi, which can cause
failures in d3d10core and d3d11 tests.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/wined3d/context_gl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/wined3d/context_gl.c b/dlls/wined3d/context_gl.c
index f4634cf67a1..b9964b1fd86 100644
--- a/dlls/wined3d/context_gl.c
+++ b/dlls/wined3d/context_gl.c
@@ -5321,8 +5321,6 @@ void draw_primitive(struct wined3d_device *device, const struct wined3d_state *s
         checkGLcall("glMemoryBarrier");
     }
 
-    wined3d_context_gl_pause_transform_feedback(context_gl, FALSE);
-
     if (rasterizer_discard)
     {
         glDisable(GL_RASTERIZER_DISCARD);
-- 
2.36.1




More information about the wine-devel mailing list