Skip to content
Snippets Groups Projects
Commit d319fb4e authored by John Kessenich's avatar John Kessenich
Browse files

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

parent b6be80f4
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
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);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment