]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/features.h
Make constant id range configurable and avoid duplicates
[libs/gl.git] / source / glsl / features.h
index 8f7a3e7c342eb69d12856c93f1f9af6ae017aaf4..b65a61e2fc8c0690a2e380ca690755c09b47bcba 100644 (file)
@@ -16,10 +16,12 @@ struct Features
        bool arb_uniform_buffer_object;
        bool ext_gpu_shader4;
        bool ext_texture_array;
+       unsigned max_constant_id;
 
        Features();
 
        static Features from_context();
+       static Features all();
 };
 
 } // namespace SL