From: Mikko Rasa Date: Fri, 10 Dec 2021 13:51:09 +0000 (+0200) Subject: Support binding individual mipmap levels of textures X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c89c1fb972fae2cb2f720cb3ec6cf8238ae8d2e1;hp=c89c1fb972fae2cb2f720cb3ec6cf8238ae8d2e1;p=libs%2Fgl.git Support binding individual mipmap levels of textures Vulkan requires different layouts for sampling a texture and rendering into, so reading from one mip level and rendering into another requires separate views. The OpenGL backend only allows binding level 0, since nothing currently needs binding higher levels. Full support requires the ARB_texture_view extension. ---