Permalink
Browse files

Add OpenGL 4.6 required extension information (closes #242)

  • Loading branch information...
scheibel committed Oct 1, 2017
1 parent 3053c7e commit ca31ffae3630774d494b2507466e73de6415ffb3
@@ -44552,6 +44552,11 @@ typedef unsigned int GLhandleARB;
<enum name="GL_MIRROR_CLAMP_TO_BORDER_EXT"/>
</require>
</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">
<require>
<enum name="GL_R16_EXT"/>
@@ -263,6 +263,19 @@ def resolveExtensions(extensions, enumsByName, commandsByName, features, api):
"GL_KHR_robustness",
"GL_ARB_shader_texture_image_samples",
"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"
]
}
@@ -132,7 +132,18 @@ const std::unordered_map<GLextension, Version> Meta_ReqVersionsByExtension =
{ GLextension::GL_ARB_shader_texture_image_samples, { 4, 5 } },
{ GLextension::GL_ARB_texture_barrier, { 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 } }
};

0 comments on commit ca31ffa

Please sign in to comment.