--- src/mapi/glapi/gen/apiexec.py | 16 ++++++++-------- src/mesa/main/extensions_table.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py index 00c80171274..e69c6b4df16 100644 --- a/src/mapi/glapi/gen/apiexec.py +++ b/src/mapi/glapi/gen/apiexec.py @@ -73,14 +73,14 @@ functions = { # OpenGL 4.0 / GL_ARB_shader_subroutines. Mesa only exposes this # extension with core profile. - "GetSubroutineUniformLocation": exec_info(core=31), - "GetSubroutineIndex": exec_info(core=31), - "GetActiveSubroutineUniformiv": exec_info(core=31), - "GetActiveSubroutineUniformName": exec_info(core=31), - "GetActiveSubroutineName": exec_info(core=31), - "UniformSubroutinesuiv": exec_info(core=31), - "GetUniformSubroutineuiv": exec_info(core=31), - "GetProgramStageiv": exec_info(core=31), + "GetSubroutineUniformLocation": exec_info(compatibility=31, core=31), + "GetSubroutineIndex": exec_info(compatibility=31, core=31), + "GetActiveSubroutineUniformiv": exec_info(compatibility=31, core=31), + "GetActiveSubroutineUniformName": exec_info(compatibility=31, core=31), + "GetActiveSubroutineName": exec_info(compatibility=31, core=31), + "UniformSubroutinesuiv": exec_info(compatibility=31, core=31), + "GetUniformSubroutineuiv": exec_info(compatibility=31, core=31), + "GetProgramStageiv": exec_info(compatibility=31, core=31), # OpenGL 4.0 / GL_ARB_gpu_shader_fp64. The extension spec says: # diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 423f22b4657..eed5bc451d8 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -123,7 +123,7 @@ EXT(ARB_shader_objects , dummy_true EXT(ARB_shader_precision , ARB_shader_precision , GLL, GLC, x , x , 2010) EXT(ARB_shader_stencil_export , ARB_shader_stencil_export , GLL, GLC, x , x , 2009) EXT(ARB_shader_storage_buffer_object , ARB_shader_storage_buffer_object , GLL, GLC, x , x , 2012) -EXT(ARB_shader_subroutine , dummy_true , x , GLC, x , x , 2010) +EXT(ARB_shader_subroutine , dummy_true , 31, GLC, x , x , 2010) EXT(ARB_shader_texture_image_samples , ARB_shader_texture_image_samples , GLL, GLC, x , x , 2014) EXT(ARB_shader_texture_lod , ARB_shader_texture_lod , GLL, GLC, x , x , 2009) EXT(ARB_shader_viewport_layer_array , ARB_shader_viewport_layer_array , x , GLC, x , x , 2015) -- 2.17.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev