mesa: Enable NV_texture_barrier in GLES2+
authorAdam Jackson <ajax@redhat.com>
Mon, 17 Oct 2022 21:35:25 +0000 (17:35 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 8 Apr 2023 06:10:44 +0000 (06:10 +0000)
The spec text is written against 3.2 but only requires framebuffer
objects and ES2.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19234>

src/mapi/glapi/gen/NV_texture_barrier.xml
src/mesa/main/extensions_table.h

index b4d3d88..d412d21 100644 (file)
@@ -6,7 +6,7 @@
 
 <OpenGLAPI>
 
-<category name="GL_NV_texture_barrier" number="381">
+<category name="GL_NV_texture_barrier" number="381" es2="2.0">
     <function name="TextureBarrierNV" exec="dlist" />
 </category>
 
index 88c1d3f..4b2c9a3 100644 (file)
@@ -421,7 +421,7 @@ EXT(NV_shader_atomic_float                  , NV_shader_atomic_float
 EXT(NV_shader_atomic_int64                  , NV_shader_atomic_int64                 , GLL, GLC,  x ,  x , 2014)
 EXT(NV_shader_noperspective_interpolation   , EXT_gpu_shader4                        ,  x ,  x ,  x ,  30, 2014)
 EXT(NV_texgen_reflection                    , dummy_true                             , GLL,  x ,  x ,  x , 1999)
-EXT(NV_texture_barrier                      , NV_texture_barrier                     , GLL, GLC,  x ,  x , 2009)
+EXT(NV_texture_barrier                      , NV_texture_barrier                     , GLL, GLC,  x , ES2, 2009)
 EXT(NV_texture_env_combine4                 , NV_texture_env_combine4                , GLL,  x ,  x ,  x , 1999)
 EXT(NV_texture_rectangle                    , NV_texture_rectangle                   , GLL,  x ,  x ,  x , 2000)
 EXT(NV_vdpau_interop                        , NV_vdpau_interop                       , GLL, GLC,  x ,  x , 2010)