X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=c18efe05088e9c53b8d89ad7e3e2266e705a6980;hb=a3637962f082182d72998a35ea86e48d51e520c3;hp=8f7a3e7c342eb69d12856c93f1f9af6ae017aaf4;hpb=c0be4e4ae1a8b6ac31ff6b7080e2242c13d947ff;p=libs%2Fgl.git diff --git a/source/glsl/features.h b/source/glsl/features.h index 8f7a3e7c..c18efe05 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -11,15 +11,20 @@ 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 max_constant_id; Features(); static Features from_context(); + static Features all(); }; } // namespace SL