mesa/src
Georg Lehmann df3a0e127f radv: fix amount of sample shading with required sample shaded inputs
The Vulkan spec says:

If a fragment shader entry point statically uses an input variable
decorated with a BuiltIn of SampleId or SamplePosition,
sample shading is enabled and a value of 1.0 is used instead of minSampleShading.
If a fragment shader entry point statically uses an input variable decorated
with Sample, sample shading may be enabled and a value of 1.0 will be
used instead of minSampleShading if it is.

This means we have to overwrite the command buffer state entirely.

Cc: mesa-stable

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
(cherry picked from commit e7a035df65)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
2026-05-13 15:39:19 +02:00
..
amd radv: fix amount of sample shading with required sample shaded inputs 2026-05-13 15:39:19 +02:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi hk: Add HK_MAX_RTS to maxFragmentCombinedOutputResources 2026-04-14 15:27:47 +02:00
broadcom v3dv: include mem_offset in vkCmdFillBuffer destination 2026-05-13 15:39:19 +02:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler spirv: preserve the explicit stride for untyped pointers with matrices 2026-05-13 15:39:19 +02:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-17 12:38:44 +01:00
etnaviv etnaviv/ci: Add gitlab-ci-inc.yml to file list 2026-01-19 20:46:38 +00:00
freedreno ir3: don't cache driver param instructions 2026-05-13 15:39:19 +02:00
gallium zink: fix mixing of mesh descriptor bindings with gfx bindings 2026-05-13 15:39:19 +02:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: Fix vkSetDebugUtilsObjectNameEXT crash for unwrapped objects 2026-04-01 11:45:35 +02:00
glx glx: guard glx_screen frontend_screen member 2026-03-11 23:21:11 +01:00
gtest
imagination pvr: setup viewindex if the shader wants it even when multiview disabled 2026-05-13 15:39:18 +02:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel anv: fixup null address check 2026-05-13 15:39:18 +02:00
kosmickrisp kk: Fix graphics pipeline serialization 2026-02-25 14:22:22 +01:00
loader loader: fix UB in wayland helper code. 2026-01-03 07:56:38 +00:00
mesa mesa/main: remove incorrect debug-output 2026-05-13 15:39:19 +02:00
microsoft vk: descriptors: sort bindings along with flags 2026-01-20 15:55:47 +00:00
nouveau nak: the MS location comes last in TLD, same spot as depth compare in TEX 2026-04-29 17:54:41 +02:00
panfrost pan/kmod: Fix uninitialized timestamp info 2026-05-13 15:39:18 +02:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util radv: allow DGC+multiview by default 2026-05-13 15:39:19 +02:00
virtio [26.0 only] venus/ci: mark a test as fixed 2026-04-01 11:45:33 +02:00
vulkan screenshot-layer: Fix leftover VK queues in the map at DeviceDestroy. 2026-05-13 15:39:18 +02:00
x11 x11: Add helper util to check for xshm support 2026-03-11 23:21:10 +01:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00