First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
struct GSPS_INPUT
{
};
// Test Append() method appearing before declaration of entry point's stream output.
void EmitVertex(in GSPS_INPUT output, inout TriangleStream<GSPS_INPUT> TriStream)
{
TriStream.Append( output );
}
[maxvertexcount(3)]
void main( triangle GSPS_INPUT input[3], inout TriangleStream<GSPS_INPUT> TriStream )
{
EmitVertex(input[0], TriStream);
EmitVertex(input[1], TriStream);
EmitVertex(input[2], TriStream);
}