• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1void main(out float4 pos : SV_Position,
2          out float clip[2] : SV_ClipDistance, // array of scalar float
3          out float cull[2] : SV_CullDistance) // array of scalar float
4{
5    pos = 1.0f.xxxx;
6    clip[0] = 0.5f;
7    clip[1] = 0.6f;
8
9    cull[0] = 0.525f;
10    cull[1] = 0.625f;
11}
12
13
14