hlsl.PointSize.geom 231 B

123456789101112
  1. struct S {
  2. [[vk::builtin("PointSize")]] float ps : PSIZE;
  3. };
  4. [maxvertexcount(4)]
  5. void main([[vk::builtin("PointSize")]] triangle in uint ps[3],
  6. inout LineStream<S> OutputStream)
  7. {
  8. S s;
  9. OutputStream.Append(s);
  10. }