mesa/src/imagination
Caius-Moldovan-img 4c83425519
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
pvr: set SMP component count for TQ frag load shaders
Add a new helper function pvr_pbe_format_num_sample_components that maps a
pvr_transfer_pbe_pixel_src format to the number of components it actually
uses. Use pvr_pbe_format_num_sample_components in pvr_uscgen_tq_frag_load
to set params.sample_components before calling pco_emit_nir_smp, so the
instruction is emitted with the correct component count. This allows the
generation of a more optimal SMP instruction, avoiding the emission of
unused result components.

Signed-off-by: Caius Moldovan <caius.moldovan@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41393>
2026-05-08 10:59:56 +00:00
..
ci pvr: setup viewindex if the shader wants it even when multiview disabled 2026-05-07 10:41:37 +00:00
common pvr: re-enable wideLines 2026-04-14 15:30:57 +01:00
csbgen pvr: add basic volcanic hw-definitions 2026-02-13 09:28:56 +00:00
drm-shim pvr/drm-shim: avoid trying a random bvnc by default 2026-02-09 09:23:42 +00:00
include pco: Use vertex input registers in register allocation 2026-02-24 16:27:45 +00:00
pco nir: rename nir_src_parent_instr to nir_src_use_instr 2026-05-06 17:09:22 +00:00
vulkan pvr: set SMP component count for TQ frag load shaders 2026-05-08 10:59:56 +00:00
.clang-format pco: Use vertex input registers in register allocation 2026-02-24 16:27:45 +00:00
.dir-locals.el
.editorconfig pvr: Change indentation from tab to spaces for xml files. 2022-08-31 08:26:17 +00:00
meson.build pvr: add support for drm-shim 2026-02-02 14:25:18 +00:00