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