mesa/src/panfrost/lib
Eric R. Smith 004e0eb3ab panfrost: use RGB1 component ordering for R5G6B5 pixel formats
For some purposes (e.g. advanced blending) we need a non-zero alpha
value returned from reads. This is only guaranteed on Bifrost if
we explicitly request RGB1 component ordering. The default is to use
RGBA component ordering, which for R5G6B5 causes 0 to be read for
alpha.

A complication is that the Mali fixed function hardware requires
four components (which implies RGBA rather than RGB1). If fixed
function blending is in use, we modify the pixel format back to
RGBA when building the blend descriptor.

Cc: mesa-stable
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29606>
2024-08-08 13:42:34 +00:00
..
genxml format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
kmod pan/kmod: Avoid deadlock on VA allocation failure on panthor 2024-07-16 13:10:55 +00:00
tests panfrost: Make pan_layout.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
.gitignore
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
pan_afbc.c panfrost: Add AFBC packing support for RG formats 2024-02-22 18:23:51 +00:00
pan_afrc.c panfrost: add translation between modifier and compression rates 2024-07-11 19:02:50 +00:00
pan_attributes.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_blend.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
pan_blend.h pan/blend: Expose pan_blend_create_shader() 2024-05-22 14:13:16 +00:00
pan_blitter.c pan/blitter: Let pan_preload_fb() callers queue the jobs to the job chain 2024-06-27 10:57:38 +00:00
pan_blitter.h pan/blitter: Let pan_preload_fb() callers queue the jobs to the job chain 2024-06-27 10:57:38 +00:00
pan_clear.c panfrost: pass blendable formats to pan_pack_color 2023-11-06 14:30:28 +01:00
pan_desc.c panfrost: add support for AFRC render targets 2024-07-11 19:02:50 +00:00
pan_desc.h pan/desc: Prepare things for fragment job chaining 2024-06-27 10:57:38 +00:00
pan_earlyzs.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_earlyzs.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_encoder.h panfrost: Make pan_encoder.h panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_format.c panfrost: use RGB1 component ordering for R5G6B5 pixel formats 2024-08-08 13:42:34 +00:00
pan_format.h panfrost: encode component order as an inverted swizzle (v10) 2024-07-11 19:02:50 +00:00
pan_indirect_dispatch.c pan/jc: Drop unused pool argument passed to pan_jc_add_job() 2024-05-28 16:03:30 +00:00
pan_indirect_dispatch.h panfrost: Make pan_indirect_dispatch panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_jc.h pan/jc: Drop unused pool argument passed to pan_jc_add_job() 2024-05-28 16:03:30 +00:00
pan_layout.c panfrost: add support for AFRC modifiers 2024-07-11 19:02:50 +00:00
pan_pool.h panfrost: Make pan_pool.h panfrost_{device,bo} agnostic 2024-01-23 16:32:09 +00:00
pan_props.c panfrost: add device querying for AFRC support 2024-07-11 19:02:50 +00:00
pan_props.h panfrost: add device querying for AFRC support 2024-07-11 19:02:50 +00:00
pan_samples.c panfrost: Make pan_sample.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_samples.h panfrost: Make pan_sample.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_scratch.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_shader.c nir/shader_info: remove uses_demote 2024-06-17 19:37:16 +00:00
pan_shader.h panfrost: Add pan_shader_disassemble 2024-06-17 07:31:51 +00:00
pan_texture.c panfrost: add support for AFRC textures 2024-07-11 19:02:50 +00:00
pan_texture.h panfrost: add translation between modifier and compression rates 2024-07-11 19:02:50 +00:00
pan_tiler.c panfrost: Remove uneeded pan_device.h inclusions 2024-01-23 16:32:09 +00:00
pan_util.c panfrost: Make panfrost_format_to_bifrost_blend() a per-gen helper 2024-01-23 16:32:08 +00:00
pan_util.h panfrost: Make panfrost_format_to_bifrost_blend() a per-gen helper 2024-01-23 16:32:08 +00:00
wrap.h pan/decode: handle more than one panfrost_device 2023-08-14 22:41:10 +00:00