mesa: Expose the ARB_robust_buffer_access_behavior extension.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 12 Apr 2016 12:57:07 +0000 (14:57 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 12 Apr 2016 18:40:26 +0000 (20:40 +0200)
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/extensions_table.h
src/mesa/main/mtypes.h
src/mesa/main/version.c

index ddc25d812c704216055fbf8836fb55ebf4fc8938..78899ecccad848911b2ada56a635c6aa02dffcb3 100644 (file)
@@ -91,6 +91,7 @@ EXT(ARB_point_sprite                        , ARB_point_sprite
 EXT(ARB_program_interface_query             , dummy_true                             , GLL, GLC,  x ,  x , 2012)
 EXT(ARB_provoking_vertex                    , EXT_provoking_vertex                   , GLL, GLC,  x ,  x , 2009)
 EXT(ARB_query_buffer_object                 , ARB_query_buffer_object                , GLL, GLC,  x ,  x , 2013)
+EXT(ARB_robust_buffer_access_behavior       , ARB_robust_buffer_access_behavior      , GLL, GLC,  x ,  x , 2012)
 EXT(ARB_robustness                          , dummy_true                             , GLL, GLC,  x ,  x , 2010)
 EXT(ARB_sample_shading                      , ARB_sample_shading                     , GLL, GLC,  x ,  x , 2009)
 EXT(ARB_sampler_objects                     , dummy_true                             , GLL, GLC,  x ,  x , 2009)
index 36c6e201aae35b2c55c4078e114ee9f72573c87c..e4a3036437eb07a8b58d6a8ca84e9e10efffb0cf 100644 (file)
@@ -3766,6 +3766,7 @@ struct gl_extensions
    GLboolean ARB_pipeline_statistics_query;
    GLboolean ARB_point_sprite;
    GLboolean ARB_query_buffer_object;
+   GLboolean ARB_robust_buffer_access_behavior;
    GLboolean ARB_sample_shading;
    GLboolean ARB_seamless_cube_map;
    GLboolean ARB_shader_atomic_counter_ops;
index 2af3653f7bbef6c126618870f728cee390540985..b9c1bcbbc6ee0b8e929b351b6224fe17b272ef4d 100644 (file)
@@ -361,7 +361,7 @@ compute_version(const struct gl_extensions *extensions,
                          extensions->ARB_fragment_layer_viewport &&
                          extensions->ARB_framebuffer_no_attachments &&
                          extensions->ARB_internalformat_query2 &&
-                         /* extensions->ARB_robust_buffer_access_behavior */ 0 &&
+                         extensions->ARB_robust_buffer_access_behavior &&
                          extensions->ARB_shader_image_size &&
                          extensions->ARB_shader_storage_buffer_object &&
                          extensions->ARB_stencil_texturing &&