SPIRV-Cross/reference/shaders/desktop-only/frag/stencil-export.desktop.frag
2019-06-12 10:06:54 +02:00

14 lines
245 B
GLSL

#version 450
#extension GL_ARB_shader_stencil_export : require
layout(location = 0) out vec4 MRT0;
layout(location = 1) out vec4 MRT1;
void main()
{
MRT0 = vec4(1.0);
MRT1 = vec4(1.0, 0.0, 1.0, 1.0);
gl_FragStencilRefARB = 100;
}