mesa/src/asahi
Lionel Landwerlin 173a4c6170 vulkan/runtime: break view mask from renderpass information
The runtime builds a final pipeline state with pointers to structures
coming from the associated pipelines libraries.

So far it has considered that the viewMask was part of a structure
together with the rest of the renderpass information. This information
can be specified in pre-raster, fragment & color-output state groups
and it was assumed would be consistent for all 3. And the runtime
currently takes the pointer to the structure from the last pipeline
library (color output).

Some coming spec/cts will clarify that the viewMask only needs to be
specified for pre-raster & fragment groups, making the value in the
color-output group untrustworthy.

This change creates a new state structure to hold the viewMask on its
own so it is only gather on pre-raster & fragment groups.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (radv)
Reviewed-by: Aitor Camacho <aitor@lunarg.com> (kosmickrisp)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com> (turnip)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> (v3dv)
Reviewed-by: Frank Binns <frank.binns@imgtec.com> (powervr)
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> (panvk)
Royaled-yes-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> (lavapipe)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39940>
2026-03-17 20:13:35 +00:00
..
ci asahi: Add OpenGL / EGL CTS CI expectations 2026-02-16 22:44:41 +00:00
clc pvr,pan,agx: drop cargo-culted nir_opt_loop calls 2026-02-02 23:16:22 +00:00
compiler agx: use common code vote lowering 2026-02-25 17:29:29 +00:00
drm-shim asahi: fix drm-shim 2025-09-15 22:46:21 +00:00
genxml asahi: fix some copyright headers 2026-02-23 20:04:12 +00:00
isa asahi: fix some copyright headers 2026-02-23 20:04:12 +00:00
layout treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
lib asahi/hk: Implement VK_EXT_blend_operation_advanced 2026-01-24 21:44:01 +00:00
libagx poly: Make all heap allocations atomic 2025-11-25 23:20:28 +00:00
vulkan vulkan/runtime: break view mask from renderpass information 2026-03-17 20:13:35 +00:00
.clang-format clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
meson.build agx: add XML-based disassembler 2025-06-05 18:57:42 +00:00