bgfx/3rdparty/glslang/Test/hlsl.clipdistance-1.frag

7 lines
179 B
GLSL
Raw Normal View History

2017-08-26 05:42:26 +03:00
float4 main(in float4 pos : SV_Position,
in float clip : SV_ClipDistance,
in float cull : SV_CullDistance) : SV_Target0
{
return pos + clip + cull;
}