mesa/src/mesa
Wujian Sun 2e340d63d2 mesa: Fix inconsistent multisampled CopyTexImage checks
According to the GL_EXT_multisampled_render_to_texture specification,
copy operations should be allowed when the extension is supported.

Previously, glCopyTexImage* would unconditionally fail with
GL_INVALID_OPERATION when copying from any multisampled framebuffer
(samples > 0), even when using render-to-texture attachments.

Fixes: d7b9da2673 ("mesa/main: fix artifacts with GL_EXT_multisampled_render_to_texture")

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40863>
2026-04-13 09:18:58 +00:00
..
glapi mesa: retain const qualifier from pointer 2026-02-05 22:01:56 +00:00
main mesa: Fix inconsistent multisampled CopyTexImage checks 2026-04-13 09:18:58 +00:00
math mesa: optimize setting the identity matrix 2023-12-08 04:25:51 +00:00
program mesa: add _mesa_lookup_state_param_idx() helper 2026-02-14 06:37:10 +00:00
state_tracker mesa/st: Pass the context to fence_finish as part of flush+wait 2026-04-10 19:37:58 +00:00
vbo mesa/vbo: update NeedFlush before flushing 2026-02-23 21:35:20 +00:00
meson.build util: Move ASTC unpack routines to common util 2025-11-07 12:14:31 +00:00