mesa: Enable ARB_texture_border_clamp in GL Core
authorSylvain Munaut <tnt@246tNt.com>
Sun, 13 Aug 2023 06:06:44 +0000 (08:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Aug 2023 12:46:56 +0000 (12:46 +0000)
According to the GL3 spec, only the `CLAMP` mode was deprecated,
the `CLAMP_TO_EDGE` and `CLAMP_TO_BORDER_ARB` are not, so this
extension should be advertised.

As a side note, Davinci Resolve uses a Core profile and tests for
that extension so it fixes an issue with that app.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24660>

src/mesa/main/extensions_table.h

index ede7a9e..2eab460 100644 (file)
@@ -149,7 +149,7 @@ EXT(ARB_stencil_texturing                   , ARB_stencil_texturing
 EXT(ARB_sync                                , ARB_sync                               , GLL, GLC,  x ,  x , 2003)
 EXT(ARB_tessellation_shader                 , ARB_tessellation_shader                , GLL, GLC,  x ,  x , 2009)
 EXT(ARB_texture_barrier                     , NV_texture_barrier                     , GLL, GLC,  x ,  x , 2014)
-EXT(ARB_texture_border_clamp                , dummy_true                             , GLL,  x ,  x ,  x , 2000)
+EXT(ARB_texture_border_clamp                , dummy_true                             , GLL, GLC,  x ,  x , 2000)
 EXT(ARB_texture_buffer_object               , ARB_texture_buffer_object              , GLL, GLC,  x ,  x , 2008)
 EXT(ARB_texture_buffer_object_rgb32         , ARB_texture_buffer_object_rgb32        , GLL, GLC,  x ,  x , 2009)
 EXT(ARB_texture_buffer_range                , ARB_texture_buffer_range               , GLL, GLC,  x ,  x , 2012)