bgfx/3rdparty/glslang/Test/hlsl.fraggeom.frag
Branimir Karadžić 4a3d221a2b Updated glslang.
2017-05-19 20:23:01 -07:00

18 lines
349 B
GLSL

// test geometry shader in fragment shader. GS attributes should be successfully ignored.
struct myVertex {
float4 pos : SV_Position;
};
[maxvertexcount(1)]
void GS_Draw(point myVertex IN, inout PointStream<myVertex> OutputStream)
{
OutputStream.Append(IN);
OutputStream.RestartStrip();
}
float4 main() : SV_TARGET
{
return 0;
}