]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_shader_objects.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_shader_objects.glext
index 96d3fc283d8ea5608cc09f1dce8e4c2496c2165a..47705493f72d1c991781c5937c918dfcddfe2579 100644 (file)
@@ -1,11 +1,23 @@
 extension ARB_shader_objects
 extension ARB_shader_objects
-# Not promoted to core
+# In the core flavor the current program is queried through the standard
+# glGetIntegerv interface
 ignore glGetHandleARB
 ignore glGetHandleARB
+# Only the integer version was promoted to core
 ignore glGetObjectParameterfvARB
 ignore glGetObjectParameterfvARB
+# Since the unified objects idea was not promoted to core, these enums related
+# to object type queries are obsolete
+ignore GL_OBJECT_TYPE_ARB
 ignore GL_PROGRAM_OBJECT_ARB
 ignore GL_SHADER_OBJECT_ARB
 ignore GL_PROGRAM_OBJECT_ARB
 ignore GL_SHADER_OBJECT_ARB
-ignore GL_OBJECT_TYPE_ARB
 ignore GL_OBJECT_SUBTYPE_ARB
 ignore GL_OBJECT_SUBTYPE_ARB
-# Rectangular textures have their own extension
+# 1D textures are not available on OpenGL ES
+optional GL_SAMPLER_1D_ARB
+# Rectangular texture samplers additionally require ARB_texture_rectangle
 optional GL_SAMPLER_2D_RECT_ARB
 optional GL_SAMPLER_2D_RECT_ARB
+# 3D texture samplers additionally require EXT_texture3D
+optional GL_SAMPLER_3D_ARB
+# Shadows samplers require the ARB_shadow extension in addition to texture type
+# specific extensions
+optional GL_SAMPLER_1D_SHADOW_ARB
+optional GL_SAMPLER_2D_SHADOW_ARB
 optional GL_SAMPLER_2D_RECT_SHADOW_ARB
 optional GL_SAMPLER_2D_RECT_SHADOW_ARB