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,17 @@
struct VertexShaderOutput
{
float4 m_position : SV_POSITION;
float4 m_color : COLOR0;
};
[maxvertexcount(3)]
[instance(5)]
void GeometryShader(triangle VertexShaderOutput input[3], inout TriangleStream<VertexShaderOutput> output, uint id : SV_GSInstanceID)
{
[loop]
for (int i = 0; i < 3; ++i)
{
output.Append(input[i]);
}
output.RestartStrip();
}