1void main(out float4 pos : SV_Position, 2 out float2 clip[2] : SV_ClipDistance, // array of vector float 3 out float2 cull[2] : SV_CullDistance) // array of vector float 4{ 5 pos = 1.0f.xxxx; 6 clip[0].x = 0.5f; 7 clip[0].y = 0.6f; 8 clip[1].x = 0.7f; 9 clip[1].y = 0.8f; 10 11 cull[0].x = 0.525f; 12 cull[0].y = 0.625f; 13 cull[1].x = 0.725f; 14 cull[1].y = 0.825f; 15} 16