Use FP32 for position and texcoords

We need that extra precision for sampling large textures
This commit is contained in:
Cameron Gutman
2022-02-13 13:41:39 -06:00
parent 9a64c026ea
commit 738f64c903
10 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -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