bgfx/3rdparty/glslang/Test/hlsl.clipdistance-1.vert
Branimir Karadžić d89a4e0346 Updated glslang.
2017-06-25 11:06:36 -07:00

9 lines
223 B
GLSL

void main(out float4 pos : SV_Position,
out float clip : SV_ClipDistance, // scalar float
out float cull : SV_CullDistance) // scalar float
{
pos = 1.0f.xxxx;
clip = 0.5f;
cull = 0.51f;
}