]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_uniform_buffer_object.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_uniform_buffer_object.glext
index 8e0e93105c802e237eecf43e634d215822bdb48c..7a3a5ca3372bcea51cec7c612a906ddbc0b2fbaa 100644 (file)
@@ -1,2 +1,12 @@
 extension ARB_uniform_buffer_object
-core_version gl 3.0
+# For some reason it's not possible to query uniform block usage in geometry
+# shader on OpenGL ES even though similar queries are available for vertex and
+# fragment shaders
+ignore GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER
+# Querying just the uniform name is not available on OpenGL ES; fortunately
+# it's included in the information provided by glGetActiveUniform
+ignore glGetActiveUniformName
+# Queries related to geometry shaders additionally require the
+# ARB_geometry_shader4 extension
+optional GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
+optional GL_MAX_GEOMETRY_UNIFORM_BLOCKS