X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=f8be0131462d1aded0bc16dc29b857e9a6131d92;hb=c4aeeced7b397d46772577775bd3a0d6c4706cba;hp=8d32f8beefa35254a3d1cce8bb1b8c72b2e91979;hpb=b30777959d8e2ab2caf489e32f40390f60a75fcb;p=libs%2Fgl.git diff --git a/source/glsl/features.h b/source/glsl/features.h index 8d32f8be..f8be0131 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -11,16 +11,23 @@ struct Features { GLApi gl_api; Version glsl_version; + bool arb_enhanced_layouts; bool arb_explicit_attrib_location; + bool arb_explicit_uniform_location; bool arb_gpu_shader5; + bool arb_separate_shader_objects; bool arb_uniform_buffer_object; bool ext_gpu_shader4; bool ext_texture_array; + unsigned constant_id_range; + unsigned uniform_binding_range; + unsigned texture_binding_range; Features(); static Features from_context(); - static Features all(); + static Features from_version(const Version &); + static Features latest(); }; } // namespace SL