moonlight-qt/app/shaders/d3d11_vertex.hlsl
Cameron Gutman 738f64c903 Use FP32 for position and texcoords
We need that extra precision for sampling large textures
2022-02-13 13:41:39 -06:00

19 lines
No EOL
323 B
HLSL

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