summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-30 09:13:58 -0600
committerRoland Scheidegger <[email protected]>2008-04-04 12:44:14 +0200
commit102f2ef4fc2d45c51926add6bdf51ef6fcb43b35 (patch)
tree246b7b18beba46965497898367c0d33baa16bf3a /src/mesa/drivers
parent04097f558325eae35b5da1b72e6da938b433ad0a (diff)
Finish up ATI_separate_stencil
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/common/extension_helper.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/extension_helper.h b/src/mesa/drivers/dri/common/extension_helper.h
index bf103a3931f..726d9900c3a 100644
--- a/src/mesa/drivers/dri/common/extension_helper.h
+++ b/src/mesa/drivers/dri/common/extension_helper.h
@@ -3839,6 +3839,13 @@ static const char Binormal3svEXT_names[] =
"";
#endif
+#if defined(need_GL_ATI_separate_stencil)
+static const char StencilOpSeparateATI_names[] =
+ "iiii\0" /* Parameter signature */
+ "glStencilOpSeparateATI\0"
+ "";
+#endif
+
#if defined(need_GL_EXT_light_texture)
static const char ApplyTextureEXT_names[] =
"i\0" /* Parameter signature */
@@ -4179,6 +4186,13 @@ static const char ActiveStencilFaceEXT_names[] =
"";
#endif
+#if defined(need_GL_ATI_separate_stencil)
+static const char StencilFuncSeparateATI_names[] =
+ "iiii\0" /* Parameter signature */
+ "glStencilFuncSeparateATI\0"
+ "";
+#endif
+
#if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_shader_objects)
static const char GetShaderSourceARB_names[] =
"iipp\0" /* Parameter signature */
@@ -5182,6 +5196,14 @@ static const struct dri_extension_function GL_ATI_fragment_shader_functions[] =
};
#endif
+#if defined(need_GL_ATI_separate_stencil)
+static const struct dri_extension_function GL_ATI_separate_stencil_functions[] = {
+ { StencilOpSeparateATI_names, StencilOpSeparateATI_remap_index, -1 },
+ { StencilFuncSeparateATI_names, StencilFuncSeparateATI_remap_index, -1 },
+ { NULL, 0, 0 }
+};
+#endif
+
#if defined(need_GL_EXT_blend_color)
static const struct dri_extension_function GL_EXT_blend_color_functions[] = {
{ BlendColor_names, -1, 336 },