mesa/src/imagination/common
Matt Coster 4a2e62844b pvr: Add support for sampler border colors
Currently only the six vulkan 1.0 pre-defined formats are supported,
but some basic infrastructure that will be useful for implementing
VK_EXT_custom_border_color (and vulkan 1.1) is included.

Only formats currently listed in the pvr_format_table in pvr_formats.c
are currently supported. Unlike most (all?) other drivers, the PowerVR
hardware requires each entry in the border color table to be encoded
for every hardware format (of which there are 128 available, plus 128
for compressed formats).

Also in this commit:
 - Two new constants in rogue_texstate.xml:
    - IMAGE_WORD0_TEXFORMAT_MAX_SIZE, and
    - SAMPLER_BORDERCOLOR_INDEX_MAX_SIZE; and
 - A new device feature (tpu_border_colour_enhanced)

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21555>
2023-06-08 10:33:46 +00:00
..
meson.build pvr: debug: Add "cs" debug option to dump control stream on job submit 2022-11-25 16:42:55 +00:00
pvr_debug.c pvr: Add PVR_DEBUG=vk_desc option to dump descriptor set layouts 2023-05-18 11:49:58 +00:00
pvr_debug.h pvr: Add PVR_DEBUG=vk_desc option to dump descriptor set layouts 2023-05-18 11:49:58 +00:00
pvr_device_info.c pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_device_info.h pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
pvr_dump.c pvr: debug: Enhancements to hex dumps 2022-12-01 15:05:59 +00:00
pvr_dump.h pvr: debug: Print hexdump for referenced buffers with unknown encoding 2022-12-01 15:05:59 +00:00
pvr_util.c pvr: util: Add integer digit counting functions 2022-11-25 16:42:55 +00:00
pvr_util.h pvr: Add support to process transfer and blit cmds 2023-04-19 11:01:05 +00:00