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:
Chia-I Wu 2022-01-22 01:03:07 -08:00 committed by Marge Bot
parent 061bf72a4f
commit 4fa24747b9
1 changed files with 1 additions and 1 deletions

View File

@ -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"/>