Commit de4eb9a3 authored by Tapani Pälli's avatar Tapani Pälli Committed by Marge Bot

mesa/st: toggle EXT_texture_norm16 based on format support

Closes: #2556
Fixes: 7f467d4f ("mesa: GL_EXT_texture_norm16 extension plumbing")
Signed-off-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
Acked-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alejandro Piñeiro's avatarAlejandro Piñeiro <apinheiro@igalia.com>
Tested-by: Marge Bot <!3941>
Part-of: <!3941>
parent 200a83a9
Pipeline #112802 passed with stages
in 21 minutes and 16 seconds
......@@ -826,6 +826,11 @@ void st_init_extensions(struct pipe_screen *screen,
{ PIPE_FORMAT_R8_UNORM,
PIPE_FORMAT_R8G8_UNORM } },
{ { o(EXT_texture_norm16) },
{ PIPE_FORMAT_R16_UNORM,
PIPE_FORMAT_R16G16_UNORM,
PIPE_FORMAT_R16G16B16A16_UNORM } },
{ { o(EXT_render_snorm) },
{ PIPE_FORMAT_R8_SNORM,
PIPE_FORMAT_R8G8_SNORM,
......@@ -968,6 +973,13 @@ 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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment