]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.h
Allow a push constant block to be specified, but flatten it for now
[libs/gl.git] / source / glsl / features.h
index 14cc2b3743ed61cae347c62d90470f3fac9ad3c4..5877746596bda5d2f37dea7cf9bab039f6cf1eba 100644 (file)
@@ -20,11 +20,11 @@ struct Features
        bool ext_gpu_shader4 = false;
        bool ext_texture_array = false;
        unsigned constant_id_range = 0x80000000U;
-       unsigned uniform_binding_range = 84;
-       unsigned texture_binding_range = 96;
+       unsigned uniform_binding_range = 24;
+       unsigned texture_binding_range = 16;
 
-       static Features from_version(const Version &);
-       static Features latest();
+       static Features from_opengl_version(const Version &);
+       static Features opengl_latest();
 };
 
 } // namespace SL