mirror of https://github.com/PCSX2/pcsx2.git
parent
56f32ff332
commit
51917c4461
|
@ -77,8 +77,8 @@ float ps_depth_copy(PS_INPUT input) : SV_Depth
|
||||||
|
|
||||||
PS_OUTPUT ps_downsample_copy(PS_INPUT input)
|
PS_OUTPUT ps_downsample_copy(PS_INPUT input)
|
||||||
{
|
{
|
||||||
int DownsampleFactor = EMODA;
|
int DownsampleFactor = DOFFSET;
|
||||||
int2 ClampMin = int2(EMODC, DOFFSET);
|
int2 ClampMin = int2(EMODA, EMODC);
|
||||||
float Weight = BGColor.x;
|
float Weight = BGColor.x;
|
||||||
|
|
||||||
int2 coord = max(int2(input.p.xy) * DownsampleFactor, ClampMin);
|
int2 coord = max(int2(input.p.xy) * DownsampleFactor, ClampMin);
|
||||||
|
|
Loading…
Reference in New Issue