X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffeatures.h;h=f8be0131462d1aded0bc16dc29b857e9a6131d92;hb=c4aeeced7b397d46772577775bd3a0d6c4706cba;hp=36220eb352fc0e097dfa1a2ddcae378a10e6073f;hpb=dfde6f3568c1a840232cf860f4a260a987a1433b;p=libs%2Fgl.git diff --git a/source/glsl/features.h b/source/glsl/features.h index 36220eb3..f8be0131 100644 --- a/source/glsl/features.h +++ b/source/glsl/features.h @@ -20,11 +20,14 @@ struct Features bool ext_gpu_shader4; bool ext_texture_array; unsigned constant_id_range; + unsigned uniform_binding_range; + unsigned texture_binding_range; Features(); static Features from_context(); - static Features all(); + static Features from_version(const Version &); + static Features latest(); }; } // namespace SL