SPIRV-Cross/shaders-no-opt/frag/frag-fully-covered.frag
2021-04-20 13:44:52 +02:00

12 lines
199 B
GLSL

#version 450
#extension GL_NV_conservative_raster_underestimation : require
layout(location = 0) out vec4 FragColor;
void main()
{
if (!gl_FragFullyCoveredNV)
discard;
FragColor = vec4(1.0);
}