mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
mesa/st: enable bptc extension with fallback
This implements emulation of BPTC for all drivers that don't natively support it in HW, similar to what we have for ETC and ASTC already. The only significant difference is that we don't implement any transcoding DRI-conf for it. Acked-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Soroush Kashani <soroush.kashani@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18012>
This commit is contained in:
parent
4f4e28face
commit
e4ff42684b
1 changed files with 6 additions and 0 deletions
|
|
@ -975,6 +975,12 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||||
PIPE_FORMAT_BPTC_RGB_FLOAT,
|
PIPE_FORMAT_BPTC_RGB_FLOAT,
|
||||||
PIPE_FORMAT_BPTC_RGB_UFLOAT } },
|
PIPE_FORMAT_BPTC_RGB_UFLOAT } },
|
||||||
|
|
||||||
|
/* BPTC software fallback support. */
|
||||||
|
{ { o(ARB_texture_compression_bptc) },
|
||||||
|
{ PIPE_FORMAT_R8G8B8A8_UNORM,
|
||||||
|
PIPE_FORMAT_R8G8B8A8_SRGB,
|
||||||
|
PIPE_FORMAT_R32G32B32X32_FLOAT } },
|
||||||
|
|
||||||
{ { o(TDFX_texture_compression_FXT1) },
|
{ { o(TDFX_texture_compression_FXT1) },
|
||||||
{ PIPE_FORMAT_FXT1_RGB,
|
{ PIPE_FORMAT_FXT1_RGB,
|
||||||
PIPE_FORMAT_FXT1_RGBA } },
|
PIPE_FORMAT_FXT1_RGBA } },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue