mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Use FP32 for position and texcoords
We need that extra precision for sampling large textures
This commit is contained in:
@@ -3,8 +3,8 @@ SamplerState theSampler : register(s0);
|
||||
|
||||
struct ShaderInput
|
||||
{
|
||||
min16float4 pos : SV_POSITION;
|
||||
min16float2 tex : TEXCOORD0;
|
||||
float4 pos : SV_POSITION;
|
||||
float2 tex : TEXCOORD0;
|
||||
};
|
||||
|
||||
min16float4 main(ShaderInput input) : SV_TARGET
|
||||
|
||||
Reference in New Issue
Block a user