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: de4eb9a3bb ("mesa/st: toggle EXT_texture_norm16 based on format support")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3961>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3961>
This commit is contained in:
Tapani Pälli 2020-02-27 10:33:33 +02:00 committed by Marge Bot
parent e58bb417b5
commit fbd61b3fb6

View file

@ -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. */