bgfx/3rdparty/glslang/Test/hlsl.clipdistance-9.frag
Branimir Karadžić b6f91e18fd Updated glslang.
2017-08-25 19:42:26 -07:00

9 lines
273 B
GLSL

// Test packing 0 and 1 semantics into single array[4], from in fn params.
float4 main(in float4 Position : SV_Position,
in float3 clip0 : SV_ClipDistance0,
in float clip1 : SV_ClipDistance1) : SV_Target0
{
return Position + clip0.x + clip1;
}