X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=e0d7dd77ceb3982ec6ed60bb543b26799cd9604e;hp=14cc2b3743ed61cae347c62d90470f3fac9ad3c4;hb=HEAD;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14 diff --git a/source/glsl/features.h b/source/glsl/features.h index 14cc2b37..28cefd0b 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -20,11 +20,12 @@ 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; + unsigned storage_texture_binding_range = 8; - static Features from_version(const Version &); - static Features latest(); + static Features from_api_version(GraphicsApi, const Version &); + static Features latest(GraphicsApi); }; } // namespace SL