]> git.tdb.fi Git - libs/gl.git/blob - source/glsl/features.h
Add a standalone GLSL compiler frontend
[libs/gl.git] / source / glsl / features.h
1 #ifndef MSP_GL_SL_FEATURES_H_
2 #define MSP_GL_SL_FEATURES_H_
3
4 #include <msp/gl/extension.h>
5
6 namespace Msp {
7 namespace GL {
8 namespace SL {
9
10 struct Features
11 {
12         GLApi gl_api;
13         Version glsl_version;
14         bool arb_explicit_attrib_location;
15         bool arb_gpu_shader5;
16         bool arb_uniform_buffer_object;
17         bool ext_gpu_shader4;
18         bool ext_texture_array;
19
20         Features();
21
22         static Features from_context();
23         static Features all();
24 };
25
26 } // namespace SL
27 } // namespace GL
28 } // namespace Msp
29
30 #endif