mesa/src/panfrost/util
Erik Faye-Lund 30cc9f5b3d pan/util: use nir_component_mask instead of BITFIELD_MASK
To generate a nir_component_mask_t, we should use nir_component_mask,
not BITFIELD_MASK()...

But we're also generating the same mask twice here, so let's just
store that to a variable and reuse the mask when shifting it while we're
at it.

Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36606>
2025-08-20 00:05:36 +00:00
..
meson.build pan/util: Move liveness logic to midgard 2025-05-09 09:33:38 +00:00
pan_collect_varyings.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
pan_ir.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
pan_ir.h panvk: rewrite pan_nir_lower_static_noperspective 2025-08-07 10:33:36 +00:00
pan_lower_frag_coord_zw.c nir: Split nir_load_frag_coord_zw to separate z/w intrinsics. 2025-06-18 23:11:36 +00:00
pan_lower_framebuffer.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
pan_lower_framebuffer.h pan/lower_framebuffer: Lower MSAA blend shaders 2023-03-23 23:53:46 +00:00
pan_lower_helper_invocation.c nir: drop load_sample_id_no_per_sample 2025-07-30 22:13:23 +00:00
pan_lower_image_index.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
pan_lower_image_ms.c panfrost: add support for image2DMSArray on bifrost 2024-08-23 16:57:58 +00:00
pan_lower_noperspective.c panvk: rewrite pan_nir_lower_static_noperspective 2025-08-07 10:33:36 +00:00
pan_lower_sample_position.c panvk: fix sample position when sample shading is disabled 2024-12-18 10:04:14 +00:00
pan_lower_store_component.c nir: rename nir_lower_io_to_temporaries -> nir_lower_io_vars_to_temporaries 2025-06-26 18:20:54 +00:00
pan_lower_vertex_id.c pan: Don't pretend we support load_{vertex_id_zero_base,first_vertex} 2025-01-07 08:15:19 +00:00
pan_lower_writeout.c treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
pan_lower_xfb.c pan/util: use nir_component_mask instead of BITFIELD_MASK 2025-08-20 00:05:36 +00:00