Skip to content

Commit

Permalink
Add OpenGL 4.6 required extension information (closes #242)
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibel committed Oct 1, 2017
1 parent 3053c7e commit ca31ffa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/codegeneration/gl.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -44552,6 +44552,11 @@ typedef unsigned int GLhandleARB;
<enum name="GL_MIRROR_CLAMP_TO_BORDER_EXT"/> <enum name="GL_MIRROR_CLAMP_TO_BORDER_EXT"/>
</require> </require>
</extension> </extension>
<extension name="GL_EXT_texture_mirror_clamp_to_edge" supported="gles2">
<require>
<enum name="GL_MIRROR_CLAMP_TO_EDGE_EXT"/>
</require>
</extension>
<extension name="GL_EXT_texture_norm16" supported="gles2"> <extension name="GL_EXT_texture_norm16" supported="gles2">
<require> <require>
<enum name="GL_R16_EXT"/> <enum name="GL_R16_EXT"/>
Expand Down
13 changes: 13 additions & 0 deletions source/codegeneration/scripts/classes/Extension.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -263,6 +263,19 @@ def resolveExtensions(extensions, enumsByName, commandsByName, features, api):
"GL_KHR_robustness", "GL_KHR_robustness",
"GL_ARB_shader_texture_image_samples", "GL_ARB_shader_texture_image_samples",
"GL_ARB_texture_barrier" "GL_ARB_texture_barrier"
],
"4.6": [
"GL_ARB_indirect_parameters",
"GL_ARB_pipeline_statistics_query",
"GL_ARB_polygon_offset_clamp",
"GL_KHR_no_error",
"GL_ARB_shader_atomic_counter_ops",
"GL_ARB_shader_draw_parameters",
"GL_ARB_shader_group_vote",
"GL_ARB_gl_spirv",
"GL_ARB_spirv_extensions",
"GL_ARB_texture_filter_anisotropic",
"GL_ARB_transform_feedback_overflow_query"
] ]
} }


Expand Down
13 changes: 12 additions & 1 deletion source/glbinding/source/Meta_ReqVersionsByExtension.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -132,7 +132,18 @@ const std::unordered_map<GLextension, Version> Meta_ReqVersionsByExtension =
{ GLextension::GL_ARB_shader_texture_image_samples, { 4, 5 } }, { GLextension::GL_ARB_shader_texture_image_samples, { 4, 5 } },
{ GLextension::GL_ARB_texture_barrier, { 4, 5 } }, { GLextension::GL_ARB_texture_barrier, { 4, 5 } },
{ GLextension::GL_KHR_context_flush_control, { 4, 5 } }, { GLextension::GL_KHR_context_flush_control, { 4, 5 } },
{ GLextension::GL_KHR_robustness, { 4, 5 } } { GLextension::GL_KHR_robustness, { 4, 5 } },
{ GLextension::GL_ARB_gl_spirv, { 4, 6 } },
{ GLextension::GL_ARB_indirect_parameters, { 4, 6 } },
{ GLextension::GL_ARB_pipeline_statistics_query, { 4, 6 } },
{ GLextension::GL_ARB_polygon_offset_clamp, { 4, 6 } },
{ GLextension::GL_ARB_shader_atomic_counter_ops, { 4, 6 } },
{ GLextension::GL_ARB_shader_draw_parameters, { 4, 6 } },
{ GLextension::GL_ARB_shader_group_vote, { 4, 6 } },
{ GLextension::GL_ARB_spirv_extensions, { 4, 6 } },
{ GLextension::GL_ARB_texture_filter_anisotropic, { 4, 6 } },
{ GLextension::GL_ARB_transform_feedback_overflow_query, { 4, 6 } },
{ GLextension::GL_KHR_no_error, { 4, 6 } }
}; };




Expand Down

0 comments on commit ca31ffa

Please sign in to comment.