]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_texture_float.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_texture_float.glext
index ddfb06e3e7f62db74bdb94e350abe068b8f2c046..bdbb8d0ecc195643bd8936023b9f60badbe1da44 100644 (file)
@@ -1,4 +1,10 @@
 extension ARB_texture_float
+# Source extensions can't be detected properly on OpenGL ES because of the
+# complex relationships between format enums and the functions where they are
+# used; this set allows sized float formats for glTextureStorage
+gles2:source gles2.EXT_texture_storage
+gles2:source gles2.OES_texture_float
+gles2:source gles2.OES_texture_half_float
 # Alpha, luminance and intensity formats were replaced with R and RG formats
 ignore GL_ALPHA16F_ARB
 ignore GL_LUMINANCE16F_ARB
@@ -10,3 +16,9 @@ ignore GL_LUMINANCE_ALPHA32F_ARB
 ignore GL_INTENSITY32F_ARB
 ignore GL_TEXTURE_LUMINANCE_TYPE_ARB
 ignore GL_TEXTURE_INTENSITY_TYPE_ARB
+# Texture component type queries are not available on OpenGL ES until 3.1
+ignore GL_TEXTURE_RED_TYPE_ARB
+ignore GL_TEXTURE_GREEN_TYPE_ARB
+ignore GL_TEXTURE_BLUE_TYPE_ARB
+ignore GL_TEXTURE_ALPHA_TYPE_ARB
+ignore GL_TEXTURE_DEPTH_TYPE_ARB