From 5907412d0405d4ed1649a9f3336b1febab0b18dc Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 29 Nov 2018 15:34:05 -0500 Subject: st/mesa: expose EXT_render_snorm on GLES Reviewed-by: Ilia Mirkin --- src/mesa/state_tracker/st_extensions.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/state_tracker/st_extensions.c') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 428975dd4cb..002866d4cdb 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -799,6 +799,14 @@ void st_init_extensions(struct pipe_screen *screen, { { o(ARB_texture_rg) }, { PIPE_FORMAT_R8_UNORM, PIPE_FORMAT_R8G8_UNORM } }, + + { { o(EXT_render_snorm) }, + { PIPE_FORMAT_R8_SNORM, + PIPE_FORMAT_R8G8_SNORM, + PIPE_FORMAT_R8G8B8A8_SNORM, + PIPE_FORMAT_R16_SNORM, + PIPE_FORMAT_R16G16_SNORM, + PIPE_FORMAT_R16G16B16A16_SNORM } }, }; /* Required: depth stencil and sampler support */ -- cgit v1.2.3