From dc9a15aefb06a1fec7ee565ba7d9aff3989468b7 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Wed, 30 Jan 2019 10:48:19 -0800 Subject: [PATCH] st/mesa: expose EXT_texture_compression_s3tc_srgb Reviewed-by: Erik Faye-Lund --- src/mesa/state_tracker/st_extensions.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 1e456d019d0..3449b2a9645 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -843,6 +843,12 @@ void st_init_extensions(struct pipe_screen *screen, PIPE_FORMAT_DXT3_RGBA, PIPE_FORMAT_DXT5_RGBA } }, + { { o(EXT_texture_compression_s3tc_srgb) }, + { PIPE_FORMAT_DXT1_SRGB, + PIPE_FORMAT_DXT1_SRGBA, + PIPE_FORMAT_DXT3_SRGBA, + PIPE_FORMAT_DXT5_SRGBA } }, + { { o(ARB_texture_compression_bptc) }, { PIPE_FORMAT_BPTC_RGBA_UNORM, PIPE_FORMAT_BPTC_SRGBA, -- 2.30.2