moonlight-qt/app/shaders/d3d11_vertex.hlsl
2022-02-08 21:43:25 -06:00

19 lines
No EOL
348 B
HLSL

struct ShaderInput
{
min16float2 pos : POSITION;
min16float2 tex : TEXCOORD0;
};
struct ShaderOutput
{
min16float4 pos : SV_POSITION;
min16float2 tex : TEXCOORD0;
};
ShaderOutput main(ShaderInput input)
{
ShaderOutput output;
output.pos = min16float4(input.pos, 0.0, 1.0);
output.tex = input.tex;
return output;
}