Mesa (main): glthread: call _mesa_glthread_BindBuffer unconditionally
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Feb 1 07:19:46 UTC 2022
Module: Mesa
Branch: main
Commit: 4fa24747b9089bda0453051e5fd5188e6fce6996
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fa24747b9089bda0453051e5fd5188e6fce6996
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Sat Jan 22 01:03:07 2022 -0800
glthread: call _mesa_glthread_BindBuffer unconditionally
_mesa_marshal_GetIntegerv expects those states to be tracked. I am not
sure if this covers all states that _mesa_marshal_GetIntegerv needs, but
this fixes Civ5 for virgl at least.
Fixes: e48f676835d ("glthread: don't sync for more glGetIntegerv enums for glretrace")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14659>
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index e5ca7af29cb..cc5d9488d84 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -5092,7 +5092,7 @@
<type name="sizeiptr" size="4" unsigned="true" glx_name="CARD32"/>
<function name="BindBuffer" es1="1.1" es2="2.0" no_error="true"
- marshal_call_after="if (COMPAT) _mesa_glthread_BindBuffer(ctx, target, buffer);">
+ marshal_call_after="_mesa_glthread_BindBuffer(ctx, target, buffer);">
<param name="target" type="GLenum"/>
<param name="buffer" type="GLuint"/>
<glx ignore="true"/>
More information about the mesa-commit
mailing list