SPIRV-Cross/shaders-hlsl/frag/sample-mask-in-and-out.frag

10 lines
136 B
GLSL
Raw Normal View History

2020-07-23 17:09:43 +00:00
#version 450
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = vec4(1.0);
gl_SampleMask[0] = gl_SampleMaskIn[0];
}