mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 16:18:06 +02:00
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> |
||
|---|---|---|
| .. | ||
| ci | ||
| common | ||
| csbgen | ||
| drm-shim | ||
| include | ||
| pco | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||