diff options
author | Dave Airlie <[email protected]> | 2010-10-06 09:36:56 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:05 +1000 |
commit | 5f612f5c006ff006ad1d2b90fbfdcdbee271771e (patch) | |
tree | 0ca73c31fde16559755a05329fbbab934ddede05 /src/mesa/state_tracker/st_extensions.c | |
parent | d9671863eaae41ba28b6fe82e3e7d1dac12f514c (diff) |
st/mesa: enable stencil shader export extension if supported
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-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 9b09601bbc5..0a9614f7541 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; + } } |