mesa: introduce boolean toggle for EXT_texture_norm16
authorTapani Pälli <tapani.palli@intel.com>
Wed, 26 Feb 2020 08:27:04 +0000 (10:27 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Feb 2020 11:12:59 +0000 (11:12 +0000)
Fixes: 7f467d4f738 ("mesa: GL_EXT_texture_norm16 extension plumbing")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3941>

src/mesa/main/extensions_table.h
src/mesa/main/mtypes.h

index 0301590223dcf8927046a8f2d9969c5c6954f23c..75733b0eaee5864e18d222bae6ad44a6d9131462 100644 (file)
@@ -313,7 +313,7 @@ EXT(EXT_texture_format_BGRA8888             , dummy_true
 EXT(EXT_texture_integer                     , EXT_texture_integer                    , GLL, GLC,  x ,  x , 2006)
 EXT(EXT_texture_lod_bias                    , dummy_true                             , GLL,  x , ES1,  x , 1999)
 EXT(EXT_texture_mirror_clamp                , EXT_texture_mirror_clamp               , GLL, GLC,  x ,  x , 2004)
-EXT(EXT_texture_norm16                      , dummy_true                             ,  x ,  x ,  x ,  31, 2014)
+EXT(EXT_texture_norm16                      , EXT_texture_norm16                     ,  x ,  x ,  x ,  31, 2014)
 EXT(EXT_texture_object                      , dummy_true                             , GLL,  x ,  x ,  x , 1995)
 EXT(EXT_texture_query_lod                   , ARB_texture_query_lod                  ,  x ,  x ,  x ,  30, 2019)
 EXT(EXT_texture_rectangle                   , NV_texture_rectangle                   , GLL,  x ,  x ,  x , 2004)
index 2ad1ffd82cd043417f4369694f2fb6a05a8bf22a..6d18d2f5de555b8b058c24c2de6b3340a9476972 100644 (file)
@@ -4337,6 +4337,7 @@ struct gl_extensions
    GLboolean EXT_texture_filter_anisotropic;
    GLboolean EXT_texture_integer;
    GLboolean EXT_texture_mirror_clamp;
+   GLboolean EXT_texture_norm16;
    GLboolean EXT_texture_shadow_lod;
    GLboolean EXT_texture_shared_exponent;
    GLboolean EXT_texture_snorm;