mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 07:28:05 +02:00
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> |
||
|---|---|---|
| .. | ||
| hk_buffer.c | ||
| hk_buffer.h | ||
| hk_buffer_view.c | ||
| hk_buffer_view.h | ||
| hk_cmd_buffer.c | ||
| hk_cmd_buffer.h | ||
| hk_cmd_clear.c | ||
| hk_cmd_dispatch.c | ||
| hk_cmd_draw.c | ||
| hk_cmd_meta.c | ||
| hk_cmd_pool.c | ||
| hk_cmd_pool.h | ||
| hk_descriptor_set.c | ||
| hk_descriptor_set.h | ||
| hk_descriptor_set_layout.c | ||
| hk_descriptor_set_layout.h | ||
| hk_descriptor_table.c | ||
| hk_descriptor_table.h | ||
| hk_device.c | ||
| hk_device.h | ||
| hk_device_memory.c | ||
| hk_device_memory.h | ||
| hk_event.c | ||
| hk_event.h | ||
| hk_format.c | ||
| hk_image.c | ||
| hk_image.h | ||
| hk_image_view.c | ||
| hk_image_view.h | ||
| hk_instance.c | ||
| hk_instance.h | ||
| hk_nir_lower_descriptors.c | ||
| hk_nir_passthrough_gs.c | ||
| hk_physical_device.c | ||
| hk_physical_device.h | ||
| hk_private.h | ||
| hk_query_pool.c | ||
| hk_query_pool.h | ||
| hk_queue.c | ||
| hk_queue.h | ||
| hk_sampler.c | ||
| hk_sampler.h | ||
| hk_shader.c | ||
| hk_shader.h | ||
| hk_wsi.c | ||
| hk_wsi.h | ||
| meson.build | ||