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: e48f676835
("glthread: don't sync for more glGetIntegerv enums for glretrace")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14659>
This commit is contained in:
parent
061bf72a4f
commit
4fa24747b9
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue