Commit 54574288 authored by Tapani Pälli's avatar Tapani Pälli Committed by Dylan Baker

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: de4eb9a3 ("mesa/st: toggle EXT_texture_norm16 based on format support")
Signed-off-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Tested-by: Marge Bot <!3961>
Part-of: <!3961>
(cherry picked from commit fbd61b3f)
parent eb4a39ba
Pipeline #114739 failed with stages
in 23 minutes and 56 seconds
......@@ -94,7 +94,7 @@
"description": "mesa/st: fix formats required for EXT_texture_norm16",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "de4eb9a3bb9fb073a5bf5cc157918bfa0f62b394"
},
......
......@@ -969,13 +969,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. */
......
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