diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-06 09:36:56 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-13 09:30:05 +1000 |
commit | 5f612f5c006ff006ad1d2b90fbfdcdbee271771e (patch) | |
tree | 0ca73c31fde16559755a05329fbbab934ddede05 /src | |
parent | d9671863eaae41ba28b6fe82e3e7d1dac12f514c (diff) |
st/mesa: enable stencil shader export extension if supported
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 9b09601bbc..0a9614f754 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -435,4 +435,8 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_DEPTH_CLAMP)) { ctx->Extensions.ARB_depth_clamp = GL_TRUE; } + + if (screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT)) { + ctx->Extensions.ARB_shader_stencil_export = GL_TRUE; + } } |