]> git.tdb.fi Git - libs/gl.git/commitdiff
Change default binding ranges to match lowest OpenGL standard
authorMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:45:10 +0000 (16:45 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:45:10 +0000 (16:45 +0300)
source/glsl/features.h

index b72aa3d99d7ad619e7e42a8dfee8fe25ead87764..5877746596bda5d2f37dea7cf9bab039f6cf1eba 100644 (file)
@@ -20,8 +20,8 @@ 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_opengl_version(const Version &);
        static Features opengl_latest();