summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2020-02-27 10:33:33 +0200
committerMarge Bot <eric+marge@anholt.net>2020-03-02 10:53:44 +0000
commitfbd61b3fb66bcc3eb0f65da2c869046c24c35dc8 (patch)
treec35d208bb3209deea6f606a758bf2fdeb95b6ef4
parente58bb417b57243d9bf0faa0995522dde5bf3fbfb (diff)
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 <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>
-rw-r--r--src/mesa/state_tracker/st_extensions.c7
1 files changed, 0 insertions, 7 deletions
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. */