Commit d319fb4e by John Kessenich

HLSL: Test change: Geometry shaders can't return values from main.

parent b6be80f4
struct S { struct S {
float clip0 : SV_Position;
float clip0 : SV_ClipDistance0; float clip0 : SV_ClipDistance0;
float cull0 : SV_CullDistance0; float cull0 : SV_CullDistance0;
uint vpai : SV_ViewportArrayIndex; uint vpai : SV_ViewportArrayIndex;
...@@ -7,9 +8,9 @@ struct S { ...@@ -7,9 +8,9 @@ struct S {
}; };
[maxvertexcount(4)] [maxvertexcount(4)]
S main(triangle in uint VertexID[3] : VertexID, void main(triangle in uint VertexID[3] : VertexID,
inout LineStream<S> OutputStream) inout LineStream<S> OutputStream)
{ {
S s; S s;
return s; OutputStream.Append(s);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment