mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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> (cherry picked from commitfbd61b3fb6)
This commit is contained in:
parent
8e986a28fa
commit
8438a41d7b
2 changed files with 1 additions and 8 deletions
|
|
@ -2065,7 +2065,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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -965,13 +965,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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue