mesa/src/mesa
Erik Faye-Lund 139f2c6629 mesa/main: contain mutlisample advanced limitations
The AMD_framebuffer_multisample_advanced extension interacts kinda badly
with ARB_internalformat_query and GLES 3. The problem is that
ARB_internalformat_query etc untangles MAX_SAMPLES and
per-internalformat sample limits, but the multisample advanced spec
explicitly requires that we can't go above the global maximum.

This isn't the biggest problem in the world; one could just deal with
these limitations for the multisample_advanced functions... if it wasn't
for the fact that we by mistake apply the multisample_advanced
limitations for functions where they shouldn't be taken into account.
Whoops. So let's make sure we don't do that.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34455>
2025-06-10 19:22:48 +00:00
..
main mesa/main: contain mutlisample advanced limitations 2025-06-10 19:22:48 +00:00
math mesa: optimize setting the identity matrix 2023-12-08 04:25:51 +00:00
program mesa: fix potential race condition in with Programs 2025-03-25 05:53:52 +00:00
state_tracker st/mesa: search for smallest supported sample-count 2025-06-10 19:22:48 +00:00
vbo amd: replace most u_bit_consecutive* with BITFIELD_MASK/RANGE 2025-06-04 17:46:38 +00:00
x86 util: cleanup cpuinfo.* and it's related files 2022-11-15 19:06:07 +00:00
meson.build mesa: inline main/meson.build 2025-03-27 05:46:35 +00:00