Clamp chroma texcoords to avoid sampling alignment padding

This resolves #885 without the massive perf hit on lower end Intel GPUs.
This commit is contained in:
Cameron Gutman
2024-06-22 16:19:26 -05:00
parent c3bd7edc4e
commit 94943d2865
7 changed files with 43 additions and 4 deletions
+6 -1
View File
@@ -6,4 +6,9 @@ struct ShaderInput
{
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
};
cbuffer ChromaLimitBuf : register(b0)
{
min16float3 chromaTexMax;
};