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:

committed by
Marge Bot

parent
4f4e28face
commit
e4ff42684b
@@ -975,6 +975,12 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
PIPE_FORMAT_BPTC_RGB_FLOAT,
|
||||
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) },
|
||||
{ PIPE_FORMAT_FXT1_RGB,
|
||||
PIPE_FORMAT_FXT1_RGBA } },
|
||||
|
Reference in New Issue
Block a user