diff options
author | Dave Airlie <[email protected]> | 2010-10-06 09:36:02 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:05 +1000 |
commit | d9671863eaae41ba28b6fe82e3e7d1dac12f514c (patch) | |
tree | a6a7a78b1beb0c5b9132433797f34f680ab17d44 /src/mesa | |
parent | 39d1feb51e9dac794751e72f48faf26409a84b1c (diff) |
glsl: add support for shader stencil export
This adds proper support for the GL_ARB_shader_stencil_export extension
to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/extensions.c | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 9df0ae4598a..99583a6345d 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -75,6 +75,7 @@ static const struct { { OFF, "GL_ARB_sampler_objects", F(ARB_sampler_objects) }, { OFF, "GL_ARB_seamless_cube_map", F(ARB_seamless_cube_map) }, { OFF, "GL_ARB_shader_objects", F(ARB_shader_objects) }, + { OFF, "GL_ARB_shader_stencil_export", F(ARB_shader_stencil_export) }, { OFF, "GL_ARB_shading_language_100", F(ARB_shading_language_100) }, { OFF, "GL_ARB_shadow", F(ARB_shadow) }, { OFF, "GL_ARB_shadow_ambient", F(ARB_shadow_ambient) }, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 3609e2969e8..4851f0460cc 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2588,6 +2588,7 @@ struct gl_extensions GLboolean ARB_sampler_objects; GLboolean ARB_seamless_cube_map; GLboolean ARB_shader_objects; + GLboolean ARB_shader_stencil_export; GLboolean ARB_shading_language_100; GLboolean ARB_shadow; GLboolean ARB_shadow_ambient; |