From: Dave Airlie Date: Tue, 5 Oct 2010 23:36:56 +0000 (+1000) Subject: st/mesa: enable stencil shader export extension if supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f612f5c006ff006ad1d2b90fbfdcdbee271771e;p=mesa.git st/mesa: enable stencil shader export extension if supported --- 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; + } }