SPIRV-Cross-Vulnerable/shaders-hlsl/frag/clip-cull-distance.frag
2018-02-22 17:00:41 +01:00

13 lines
208 B
GLSL

#version 450
in float gl_ClipDistance[2];
in float gl_CullDistance[1];
layout(location = 0) out float FragColor;
void main()
{
FragColor = gl_ClipDistance[0] + gl_CullDistance[0] + gl_ClipDistance[1];
}