mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Use FP32 for position and texcoords
We need that extra precision for sampling large textures
This commit is contained in:
1 parent
9a64c026ea
commit
738f64c903
10 files changed
+13
-13
No files matched your search
@@ -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