[Mesa-dev] [PATCH 02/10] mesa: add ARB_tessellation_shader boolean and constants

Luca Barbieri luca at luca-barbieri.com
Sun Sep 5 18:30:44 PDT 2010


---
 src/mesa/main/extensions.c |    1 +
 src/mesa/main/mtypes.h     |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 50b97f5..2ab3801 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -81,6 +81,7 @@ static const struct {
    { OFF, "GL_ARB_shadow",                     F(ARB_shadow) },
    { OFF, "GL_ARB_shadow_ambient",             F(ARB_shadow_ambient) },
    { OFF, "GL_ARB_sync",                       F(ARB_sync) },
+   /* { OFF, "GL_ARB_tessellation_shader",        F(ARB_tessellation_shader) }, */
    { OFF, "GL_ARB_texture_border_clamp",       F(ARB_texture_border_clamp) },
    { OFF, "GL_ARB_texture_buffer_object",      F(ARB_texture_buffer_object) },
    { ON,  "GL_ARB_texture_compression",        F(ARB_texture_compression) },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 6605d2f..4c1ec5c 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2563,6 +2563,8 @@ struct gl_constants
    struct gl_program_constants VertexProgram;   /**< GL_ARB_vertex_program */
    struct gl_program_constants FragmentProgram; /**< GL_ARB_fragment_program */
    struct gl_program_constants GeometryProgram;  /**< GL_ARB_geometry_shader4 */
+   struct gl_program_constants TessControlProgram;  /**< GL_ARB_tessellation_shader */
+   struct gl_program_constants TessEvaluationProgram;  /**< GL_ARB_tessellation_shader */
    GLuint MaxProgramMatrices;
    GLuint MaxProgramMatrixStackDepth;
 
@@ -2641,6 +2643,7 @@ struct gl_extensions
    GLboolean ARB_shadow;
    GLboolean ARB_shadow_ambient;
    GLboolean ARB_sync;
+   GLboolean ARB_tessellation_shader;
    GLboolean ARB_texture_border_clamp;
    GLboolean ARB_texture_buffer_object;
    GLboolean ARB_texture_compression;
-- 
1.7.0.4



More information about the mesa-dev mailing list