mesa/src
Italo Nicola f74d246538 mesa/main: allow readpix/teximage to read from implicitly multisampled fbos
The GL_EXT_multisampled_render_to_texture spec explicitly allow reading
from these FBOs.

"Similarly, for ReadPixels:
 'An INVALID_OPERATION error is generated if the value of READ_-
FRAMEBUFFER_BINDING (see section 9) is non-zero, the read framebuffer is
framebuffer complete, and the value of SAMPLE_BUFFERS for the read
framebuffer is one.'

 These errors do not apply to textures and renderbuffers that have
associated multisample data specified by the mechanisms described in
this extension, i.e., the above operations are allowed even when
SAMPLE_BUFFERS is non-zero for renderbuffers created via Renderbuffer-
StorageMultisampleEXT or textures attached via FramebufferTexture2D-
MultisampleEXT."

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10747>
(cherry picked from commit d7b9da2673)
2023-08-04 11:12:58 +01:00
..
amd ac/llvm: fix AC_TM_CHECK_IR 2023-07-30 11:07:11 +01:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Fix disk cache disable with AGX_MESA_DEBUG 2023-05-09 16:54:30 +01:00
broadcom st/mesa: Set gl_config.floatMode based on color_format 2023-07-16 14:18:22 +01:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: fix slot calculations for compact variables with location_frac 2023-07-28 18:48:25 +01:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl egl/wayland: Always initialise fd_display_gpu 2023-07-28 18:48:25 +01:00
etnaviv etnaviv: nir: do not call nir_lower_idiv(..) unconditionally 2023-06-08 09:59:49 +02:00
freedreno nir: fix slot calculations for compact variables with location_frac 2023-07-28 18:48:25 +01:00
gallium lavapipe: don't check geometry for fb attachments 2023-08-02 20:57:25 +01:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glxsw: check geometry of drawables on creation 2023-07-28 18:48:24 +01:00
gtest
imagination pvr: skip setting up SPM consts buffer when no const shared regs are used 2023-07-18 22:38:07 +01:00
imgui
intel anv: fix 3DSTATE_RASTER::APIMode field setting 2023-08-02 20:57:25 +01:00
loader loader/dri3: temporarily work around a crash when front is NULL 2023-05-25 14:06:12 +01:00
mapi mapi: Fixes check_table.cpp for DrawArraysInstancedARB and DrawElementsInstancedARB 2023-06-27 13:54:02 +01:00
mesa mesa/main: allow readpix/teximage to read from implicitly multisampled fbos 2023-08-04 11:12:58 +01:00
microsoft dzn: Fix qpool->queries_lock double lock 2023-06-07 11:14:20 +02:00
nouveau nv50/ir/nir: Fix zero source handling of tex instructions. 2023-07-30 11:07:21 +01:00
panfrost panfrost: Lower vertex_id for XFB 2023-07-21 18:08:08 +01:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util util/u_queue: fix util_queue_finish deadlock by merging lock and finish_lock 2023-07-18 22:48:05 +01:00
virtio venus: fix cmd state leak across implicit reset 2023-07-28 18:48:24 +01:00
vulkan vulkan/wsi: Remove duplicate NULL check 2023-06-08 09:59:42 +02:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00