bgfx/3rdparty/glslang/Test/hlsl.PointSize.geom
Branimir Karadžić 65d402479f Updated glslang.
2017-12-15 19:24:31 -08:00

12 lines
231 B
GLSL

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);
}