st/mesa: enable stencil shader export extension if supported

This commit is contained in:
Dave Airlie 2010-10-06 09:36:56 +10:00
parent d9671863ea
commit 5f612f5c00

View file

@ -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;
}
}