bgfx/3rdparty/glslang/Test/hlsl.PointSize.geom

12 lines
231 B
Plaintext
Raw Normal View History

2017-12-10 00:50:23 +03:00
struct S {
2017-12-16 06:24:31 +03:00
[[vk::builtin("PointSize")]] float ps : PSIZE;
2017-12-10 00:50:23 +03:00
};
[maxvertexcount(4)]
void main([[vk::builtin("PointSize")]] triangle in uint ps[3],
inout LineStream<S> OutputStream)
{
S s;
OutputStream.Append(s);
}