glslang/Test/hlsl.PointSize.geom

12 lines
231 B
Plaintext
Raw Permalink Normal View History

struct S {
[[vk::builtin("PointSize")]] float ps : PSIZE;
};
[maxvertexcount(4)]
void main([[vk::builtin("PointSize")]] triangle in uint ps[3],
inout LineStream<S> OutputStream)
{
S s;
OutputStream.Append(s);
}