GS/DX11: Fix downsample uniform unpack

Fixes #11482.
This commit is contained in:
Stenzek 2024-06-29 00:52:07 +10:00 committed by Connor McLaughlin
parent 56f32ff332
commit 51917c4461
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ float ps_depth_copy(PS_INPUT input) : SV_Depth
PS_OUTPUT ps_downsample_copy(PS_INPUT input)
{
int DownsampleFactor = EMODA;
int2 ClampMin = int2(EMODC, DOFFSET);
int DownsampleFactor = DOFFSET;
int2 ClampMin = int2(EMODA, EMODC);
float Weight = BGColor.x;
int2 coord = max(int2(input.p.xy) * DownsampleFactor, ClampMin);