mesa: fix GL_INVALID_OPERATION with GLES1/2 + Kopper

Kopper draw codepath calls an internal helper called
InternalInvalidateFramebufferAncillaryMESA, which is currently only
exported for GLES3 contexts.

This leads to a warning when the underlying Vulkan driver capability
isn't enough for GLES3 or GLES version number is forced to 2.0 or the
program is a GLES1 one.

Export this internal helper for GLES1/2 too.

Fixes: 0c7994bb2d ("mapi: add InternalInvalidateFramebufferAncillaryMESA")
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39092>
This commit is contained in:
Icenowy Zheng 2025-12-27 09:33:31 +08:00 committed by Marge Bot
parent 2c770a8dce
commit f1d199285a

View file

@ -11095,7 +11095,7 @@
</function>
<!-- Internal function for glthread to implement ancillary buffer invalidation. -->
<function name="InternalInvalidateFramebufferAncillaryMESA" es2="3.0">
<function name="InternalInvalidateFramebufferAncillaryMESA" es1="1.0" es2="2.0">
</function>
<!-- Internal function for glthread to defer buffer release. -->