glsl: add support for shader stencil export