]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.h
Store GLSL features in DeviceInfo
[libs/gl.git] / source / glsl / features.h
index c18efe05088e9c53b8d89ad7e3e2266e705a6980..8aee02caa64daf63bef8aa926bcb74c33fb50569 100644 (file)
@@ -19,12 +19,14 @@ struct Features
        bool arb_uniform_buffer_object;
        bool ext_gpu_shader4;
        bool ext_texture_array;
-       unsigned max_constant_id;
+       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