Files
XCEngine/tests/RHI/D3D12/integration/triangle/Res/Shader/triangle.hlsl
ssdfasd 12b71a319f chore: snapshot editor work and restore tests
Key points:\n- restore the tests tree removed by bc47e6e\n- capture current editor workspace, scene, and docs reshuffle changes\n- keep local cloud.nvdb resources ignored from this commit
2026-04-25 22:11:47 +08:00

20 lines
293 B
HLSL

struct Vertex {
float4 pos : POSITION;
float4 col : COLOR;
};
struct VSOut {
float4 pos : SV_POSITION;
float4 col : COLOR;
};
VSOut MainVS(Vertex v) {
VSOut o;
o.pos = v.pos;
o.col = v.col;
return o;
}
float4 MainPS(VSOut i) : SV_TARGET {
return i.col;
}