e4s-game/gamedata/shaders/d3d11/stub_fullscreen_triangle.vs.hlsl
2026-06-18 01:18:29 +03:00

21 lines
301 B
HLSL

struct VSInput
{
float2 texcoord : TEXCOORD0;
float4 hpos : POSITIONT;
};
struct VSOutput
{
float4 hpos : SV_POSITION;
float2 texcoord : TEXCOORD0;
};
VSOutput main(VSInput I)
{
VSOutput O;
O.hpos = I.hpos;
O.texcoord = I.texcoord;
return O;
}