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

12 lines
223 B
Plaintext
Raw Normal View History

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