bgfx/3rdparty/glslang/Test/hlsl.semantic.geom
Branimir Karadžić 86969904d9 Updated glslang.
2017-08-11 19:58:06 -07:00

17 lines
390 B
GLSL

struct S {
float clip0 : SV_Position;
float clip0 : SV_ClipDistance0;
float cull0 : SV_CullDistance0;
uint vpai : SV_ViewportArrayIndex;
uint rtai : SV_RenderTargetArrayIndex;
int ii : SV_InstanceID;
};
[maxvertexcount(4)]
void main(triangle in uint VertexID[3] : VertexID,
inout LineStream<S> OutputStream)
{
S s;
OutputStream.Append(s);
}