]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_geometry_shader4.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_geometry_shader4.glext
index bc5bc77b2a003136b10fb7cf1856000dd9700846..83109d87a4186e2bb6798a4061cecada09a92539 100644 (file)
@@ -1,13 +1,22 @@
 extension ARB_geometry_shader4
-# We use the version from EXT_texture_array
+# EXT_texture_array has an equivalent function and it more properly belongs
+# there
 ignore glFramebufferTextureLayerARB
-# Not promoted to core
+# Binding a single face of a cube map array texture was not promoted to core
+# even with EXT_texture_cube_map_array
 ignore glFramebufferTextureFaceARB
+# Stage-specific maximum varying component count queries were not promoted to
+# core; the more generic overall queries are deprecated too
 ignore GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB
 ignore GL_MAX_VERTEX_VARYING_COMPONENTS_ARB
-# Not promoted but required to support the extension flavor of geometry shaders
+# Program point size is always used in OpenGL ES
+optional GL_PROGRAM_POINT_SIZE_ARB
+# The core flavor allows different layer counts per attachment; keep the error
+# condition around in case we end up using the extension flavor
+optional GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB
+# In the core flavor input and output layouts are set in GLSL source; keep
+# these so we can support the extension flavor
 optional GL_GEOMETRY_INPUT_TYPE_ARB
 optional GL_GEOMETRY_OUTPUT_TYPE_ARB
 optional GL_GEOMETRY_VERTICES_OUT_ARB
 optional glProgramParameteriARB
-optional GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB