From: Gurchetan Singh Date: Wed, 30 Jan 2019 18:48:19 +0000 (-0800) Subject: st/mesa: expose EXT_texture_compression_s3tc_srgb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc9a15aefb06a1fec7ee565ba7d9aff3989468b7;p=mesa.git st/mesa: expose EXT_texture_compression_s3tc_srgb Reviewed-by: Erik Faye-Lund --- 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,