mesa/src
Italo Nicola 4d1a07c1a0 mesa/main: account for RTT samples when updating framebuffer
For EXT_multisampled_render_to_texture, we store the number of samples
in Attachment->NumSamples instead of Renderbuffer->NumSamples. This
meant that the previous code ignored that the framebuffer was
multisampled. Because of this, pipe_rasterizer_state::multisample is set
incorrectly, leading to visual artifacts on drivers that support MS-RTT
extension, such as panfrost.

Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10747>
2023-08-01 21:22:28 +00:00
..
amd radv: bump max xfb output to 128 2023-08-01 20:47:34 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Don't depend on glibc to decode 2023-07-22 12:42:58 -04:00
broadcom broadcom/compiler: Convert to new-style NIR registers 2023-07-25 15:36:52 +00:00
c11 treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
compiler nir/schedule: Assume no old-style registers 2023-08-01 14:04:07 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl egl: Always set _EGLDisplay->Device during eglGetPlatformDisplay() 2023-08-01 11:21:59 +00:00
etnaviv ci/etnaviv: update ci expectations 2023-07-22 04:16:32 +00:00
freedreno ir3: bump max xfb output to 128 2023-08-01 20:47:34 +00:00
gallium gallium: bump PIPE_MAX_SO_OUTPUTS to 128 2023-08-01 20:47:34 +00:00
gbm egl/drm: Assume modern DRI interface versions 2023-07-28 12:25:19 +00:00
getopt
glx kopper: pass modifier availability to drawable creation 2023-07-27 19:18:21 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Fix csb relocation status assert on pvr_csb_finish() 2023-07-27 11:03:41 +00:00
imgui
intel intel/genxml/gen125: Set MI_MATH MOCS field as non-zero 2023-08-01 19:49:45 +00:00
loader dri3: only invalidate drawables on geometry change if geometry has changed 2023-06-15 12:22:24 +00:00
mapi mesa: Implement and advertise GL_MESA_sampler_objects 2023-08-01 14:52:10 +00:00
mesa mesa/main: account for RTT samples when updating framebuffer 2023-08-01 21:22:28 +00:00
microsoft microsoft/clc/compiler: Convert to use nir_foreach_function_impl when possible 2023-07-26 03:43:40 +00:00
nouveau nv/codegen: Implement nir_op_fquantize2f16 2023-08-01 18:58:04 +00:00
panfrost pan/bi: Remove leftover include 2023-07-25 15:36:52 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util zink: Removes disable_xcb_surface 2023-08-01 12:27:55 +00:00
virtio venus: suppress a false logging 2023-07-30 14:33:34 +00:00
vulkan vulkan: Add init/finish helpers for vk_query_pool 2023-08-01 19:17:05 +00:00
.clang-format clang-format: add wayland foreach macros 2023-07-07 23:00:06 +00:00
meson.build lavapipe: Include llvmpipe 2023-06-30 12:56:35 +00:00