[Mesa-dev] [PATCH 01/19] mesa: add GL_ARB_shader_ballot boilerplate
Nicolai Hähnle
nhaehnle at gmail.com
Fri Mar 31 17:14:01 UTC 2017
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/mapi/glapi/registry/gl.xml | 2 +-
src/mesa/main/extensions_table.h | 1 +
src/mesa/main/mtypes.h | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml
index 3fc8863..9e2ff98 100644
--- a/src/mapi/glapi/registry/gl.xml
+++ b/src/mapi/glapi/registry/gl.xml
@@ -38657,21 +38657,21 @@ typedef unsigned int GLhandleARB;
<enum name="GL_MAX_FRAGMENT_ATOMIC_COUNTERS"/>
<enum name="GL_MAX_COMBINED_ATOMIC_COUNTERS"/>
<enum name="GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE"/>
<enum name="GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS"/>
<enum name="GL_ACTIVE_ATOMIC_COUNTER_BUFFERS"/>
<enum name="GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX"/>
<enum name="GL_UNSIGNED_INT_ATOMIC_COUNTER"/>
<command name="glGetActiveAtomicCounterBufferiv"/>
</require>
</extension>
- <extension name="GL_ARB_shader_ballot" supported="gl"/>
+ <extension name="GL_ARB_shader_ballot" supported="gl|glcore"/>
<extension name="GL_ARB_shader_bit_encoding" supported="gl|glcore"/>
<extension name="GL_ARB_shader_clock" supported="gl"/>
<extension name="GL_ARB_shader_draw_parameters" supported="gl|glcore"/>
<extension name="GL_ARB_shader_group_vote" supported="gl|glcore"/>
<extension name="GL_ARB_shader_image_load_store" supported="gl|glcore">
<require>
<enum name="GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT"/>
<enum name="GL_ELEMENT_ARRAY_BARRIER_BIT"/>
<enum name="GL_UNIFORM_BARRIER_BIT"/>
<enum name="GL_TEXTURE_FETCH_BARRIER_BIT"/>
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
index ec71791..80a9846 100644
--- a/src/mesa/main/extensions_table.h
+++ b/src/mesa/main/extensions_table.h
@@ -100,20 +100,21 @@ EXT(ARB_provoking_vertex , EXT_provoking_vertex
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)
EXT(ARB_seamless_cube_map , ARB_seamless_cube_map , GLL, GLC, x , x , 2009)
EXT(ARB_seamless_cubemap_per_texture , AMD_seamless_cubemap_per_texture , GLL, GLC, x , x , 2013)
EXT(ARB_separate_shader_objects , dummy_true , GLL, GLC, x , x , 2010)
EXT(ARB_shader_atomic_counter_ops , ARB_shader_atomic_counter_ops , GLL, GLC, x , x , 2015)
EXT(ARB_shader_atomic_counters , ARB_shader_atomic_counters , GLL, GLC, x , x , 2011)
+EXT(ARB_shader_ballot , ARB_shader_ballot , GLL, GLC, x , x , 2015)
EXT(ARB_shader_bit_encoding , ARB_shader_bit_encoding , GLL, GLC, x , x , 2010)
EXT(ARB_shader_clock , ARB_shader_clock , GLL, GLC, x , x , 2015)
EXT(ARB_shader_draw_parameters , ARB_shader_draw_parameters , GLL, GLC, x , x , 2013)
EXT(ARB_shader_group_vote , ARB_shader_group_vote , GLL, GLC, x , x , 2013)
EXT(ARB_shader_image_load_store , ARB_shader_image_load_store , GLL, GLC, x , x , 2011)
EXT(ARB_shader_image_size , ARB_shader_image_size , GLL, GLC, x , x , 2012)
EXT(ARB_shader_objects , dummy_true , GLL, GLC, x , x , 2002)
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)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 401c35a..73ce94c 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3883,20 +3883,21 @@ struct gl_extensions
GLboolean ARB_occlusion_query2;
GLboolean ARB_pipeline_statistics_query;
GLboolean ARB_point_sprite;
GLboolean ARB_post_depth_coverage;
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;
GLboolean ARB_shader_atomic_counters;
+ GLboolean ARB_shader_ballot;
GLboolean ARB_shader_bit_encoding;
GLboolean ARB_shader_clock;
GLboolean ARB_shader_draw_parameters;
GLboolean ARB_shader_group_vote;
GLboolean ARB_shader_image_load_store;
GLboolean ARB_shader_image_size;
GLboolean ARB_shader_precision;
GLboolean ARB_shader_stencil_export;
GLboolean ARB_shader_storage_buffer_object;
GLboolean ARB_shader_subroutine;
--
2.9.3
More information about the mesa-dev
mailing list