mesa/src/broadcom/cle
Iago Toral Quiroga ca186f7291 v3dv: fix a1r5g5b5 format
We were configuring the TLB to use ABGR1555, but that doesn't really
give us what we want. There were two issues:

  * We were using the wrong Texture Data Format and Output Image
    Format. In fact those we need to use were not included on the
    packet file.

  * Even using the correct one, we need to do a RB swap to match the
    semantics of the Vulkan format.

This patch fixes both issues. As we are here we keep the formats we
were already used, that would provide support for r5g5b5a1.

So this patch makes tests like the following going from skip to pass:
dEQP-VK.texture.filtering.2d.formats.r5g5b5a1_unorm.nearest

And the following test from fail to pass:
dEQP-VK.texture.filtering.2d.formats.a1r5g5b5_unorm.nearest

Note that the R5G5B5A1_UNORM_PACK16 is not mandatory, but as we
already made the effort to understand them and get them working let's
just keep it on the list

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:28 +00:00
..
gen_pack_header.py broadcom/genxml: Stop manually scrubbing 'α' -> "alpha" 2019-09-23 20:24:54 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
v3d_decoder.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
v3d_decoder.h v3d: Add pack header support for f187 values. 2018-07-30 14:29:01 -07:00
v3d_packet_helpers.h v3d: fix empty-body instruction 2019-10-27 22:10:31 +00:00
v3d_packet_v21.xml v3d: Switch v3d_decoder.c to the XML's top min_ver/max_ver fields. 2018-06-29 13:36:28 -07:00
v3d_packet_v33.xml v3dv: fix a1r5g5b5 format 2020-10-13 21:21:28 +00:00
v3dx_pack.h broadcom/vc5: Add XML for V3D 4.2. 2018-01-27 18:57:58 +11:00