mesa/src/imagination
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
..
common pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
csbgen pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
include pvr: Move pvr_get_isp_num_tiles_xy() to rogue_hw_utils.h 2023-06-02 14:43:24 +00:00
rogue nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
vulkan pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
.clang-format pvr: Add support for validating modifier combos 2023-02-24 11:29:48 +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