From: Tapani Pälli Date: Thu, 27 Feb 2020 08:33:33 +0000 (+0200) Subject: mesa/st: fix formats required for EXT_texture_norm16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbd61b3fb66bcc3eb0f65da2c869046c24c35dc8;p=mesa.git mesa/st: fix formats required for EXT_texture_norm16 Earlier commit did not take in to account that lists required for rendering and texturing are parsed separately. This commit simply removes formats added to the other list. Fixes: de4eb9a3bb9 ("mesa/st: toggle EXT_texture_norm16 based on format support") Signed-off-by: Tapani Pälli Reviewed-by: Eric Anholt Tested-by: Marge Bot Part-of: --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 3fdfe745793..2d946b5a358 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -973,13 +973,6 @@ void st_init_extensions(struct pipe_screen *screen, { PIPE_FORMAT_ATC_RGB, PIPE_FORMAT_ATC_RGBA_EXPLICIT, PIPE_FORMAT_ATC_RGBA_INTERPOLATED } }, - - { { o(EXT_texture_norm16) }, - { PIPE_FORMAT_R16G16B16_UNORM, - PIPE_FORMAT_R16_SNORM, - PIPE_FORMAT_R16G16_SNORM, - PIPE_FORMAT_R16G16B16_SNORM, - PIPE_FORMAT_R16G16B16A16_SNORM } }, }; /* Required: vertex fetch support. */