]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/deviceinfo.h
Always require EXT_texture3D and ARB_shadow for samplers
[libs/gl.git] / source / core / deviceinfo.h
index 1eb120ff2ec509921ed2dfa84fbcbce92393953d..8550d85ff75f35061e5c5c8c7f7dbe371d2c24b2 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef MSP_GL_DEVICEINFO_H_
 #define MSP_GL_DEVICEINFO_H_
 
+#include "glsl/features.h"
+
 namespace Msp {
 namespace GL {
 
@@ -15,8 +17,16 @@ struct Limits
        unsigned max_color_attachments;
 
        Limits();
+};
+
+struct DeviceInfo
+{
+       Limits limits;
+       SL::Features glsl_features;
+
+       DeviceInfo();
 
-       static const Limits &get_global();
+       static const DeviceInfo &get_global();
 };
 
 } // namespace GL