This commit is contained in:
Vasily Petrov 2026-06-18 01:18:29 +03:00
commit 2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#include "common.hlsli"
// Geometry
[maxvertexcount(3)]
void main(triangle v2p_TL In[3], inout TriangleStream<v2p_TL> triStream)
{
v2p_TL Out;
for (int v = 0; v < 3; v++)
{
Out.HPos = In[v].HPos;
Out.Tex0 = In[v].Tex0;
Out.Color = float4(0, 0, 1, 1); // swizzle vertex colour
triStream.Append(Out);
}
triStream.RestartStrip();
}