aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/opengl/GL
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-08-03 09:58:01 -0700
committerSven Gothel <[email protected]>2009-08-03 09:58:01 -0700
commita2350e9ae32797deaca04ee129ee459022ee29da (patch)
treed32d93147ee7328901226bcf34054e1436a9d2dd /make/stub_includes/opengl/GL
parentbda9e3bc462e5489aa9bc168adda438864e89ed4 (diff)
Add: GL_AMD_vertex_shader_tessellator from spec
Diffstat (limited to 'make/stub_includes/opengl/GL')
-rw-r--r--make/stub_includes/opengl/GL/glext.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/make/stub_includes/opengl/GL/glext.h b/make/stub_includes/opengl/GL/glext.h
index 94345ca08..68bf425cf 100644
--- a/make/stub_includes/opengl/GL/glext.h
+++ b/make/stub_includes/opengl/GL/glext.h
@@ -8427,11 +8427,35 @@ typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenu
/*
* ------------------------------------------------
* Everything here and below was added manually
- * by ckline, kbr and yvg to the version of glext.h obtained from:
+ * to the version of glext.h obtained from:
* http://oss.sgi.com/projects/ogl-sample/registry/index.html
* ------------------------------------------------
*/
+
+/**
+ * http://www.opengl.org/registry/specs/AMD/vertex_shader_tessellator.txt
+ */
+#ifndef GL_AMD_vertex_shader_tessellator
+#define GL_SAMPLER_BUFFER_AMD 0x9001
+#define GL_INT_SAMPLER_BUFFER_AMD 0x9002
+#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
+#define GL_DISCRETE_AMD 0x9006
+#define GL_CONTINUOUS_AMD 0x9007
+#define GL_TESSELLATION_MODE_AMD 0x9004
+#define GL_TESSELLATION_FACTOR_AMD 0x9005
+#endif
+
+#ifndef GL_AMD_vertex_shader_tessellator
+#define GL_AMD_vertex_shader_tessellator
+#ifdef GL_GLEXT_PROTOTYPES
+GLAPI void APIENTRY glTessellationFactorAMD(GLfloat factor);
+GLAPI void APIENTRY glTessellationModeAMD(GLenum mode);
+#endif
+typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
+typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
+#endif
+
#ifndef GL_NV_element_array
#define GL_ELEMENT_ARRAY_TYPE_NV 0x8769
#define GL_ELEMENT_ARRAY_POINTER_NV 0x876A