Basically the reason for needing ES 3.1 is because it relies on glMemoryBarrier. This change puts buffer_storage in the same position in both ES and GL, since mesa exposes buffer_storage on a much older version of GL than it is suppose to. --- docs/relnotes/11.1.0.html | 2 +- src/mapi/glapi/gen/es_EXT.xml | 2 +- src/mesa/main/extensions_table.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html index b097d67..ed8c7d1 100644 --- a/docs/relnotes/11.1.0.html +++ b/docs/relnotes/11.1.0.html @@ -58,7 +58,7 @@ Note: some of the new features are only available with certain drivers. <li>GL_ARB_texture_query_lod on softpipe</li> <li>GL_ARB_texture_view on radeonsi and r600 (for evergeen and newer)</li> <li>GL_EXT_blend_func_extended on all drivers that support the ARB version</li> -<li>GL_EXT_buffer_storage implemented for when ES 3.1 support is gained</li> +<li>GL_EXT_buffer_storage implemented for ES 3.0</li> <li>GL_EXT_draw_elements_base_vertex on all drivers</li> <li>GL_OES_draw_elements_base_vertex on all drivers</li> <li>EGL_KHR_create_context on softpipe, llvmpipe</li> diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 577d825..7f75701 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -906,7 +906,7 @@ </category> <category name="GL_EXT_buffer_storage" number="239"> - <function name="BufferStorageEXT" alias="BufferStorage" es2="3.1"> + <function name="BufferStorageEXT" alias="BufferStorage" es2="3.0"> <param name="target" type="GLenum"/> <param name="size" type="GLsizeiptr"/> <param name="data" type="const GLvoid *"/> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 0095c85..84421ca 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -143,7 +143,7 @@ EXT(EXT_blend_color , EXT_blend_color EXT(EXT_blend_equation_separate , EXT_blend_equation_separate , GLL, GLC, x , x , 2003) EXT(EXT_blend_func_extended , ARB_blend_func_extended , x , x , x , ES2, 2015) EXT(EXT_blend_func_separate , EXT_blend_func_separate , GLL, x , x , x , 1999) -EXT(EXT_buffer_storage , ARB_buffer_storage , x , x , x , 31, 2015) +EXT(EXT_buffer_storage , ARB_buffer_storage , x , x , x , 30, 2015) EXT(EXT_discard_framebuffer , dummy_true , x , x , ES1, ES2, 2009) EXT(EXT_blend_minmax , EXT_blend_minmax , GLL, x , ES1, ES2, 1995) EXT(EXT_blend_subtract , dummy_true , GLL, x , x , x , 1995) -- 2.5.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev