SPIRV-Cross/reference/shaders-no-opt/frag/frag-fully-covered.frag

15 lines
224 B
GLSL
Raw Normal View History

2021-04-20 11:44:52 +00:00
#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);
}