Browse Source

Fixed another incorrect size

fsr3.1
Nico de Poel 2 years ago
parent
commit
c15bd345e6
  1. 4
      Assets/Scripts/Core/Fsr3UpscalerContext.cs

4
Assets/Scripts/Core/Fsr3UpscalerContext.cs

@ -273,8 +273,8 @@ namespace FidelityFX
// Dispatch RCAS
const int threadGroupWorkRegionDimRcas = 16;
int threadGroupsX = (Screen.width + threadGroupWorkRegionDimRcas - 1) / threadGroupWorkRegionDimRcas;
int threadGroupsY = (Screen.height + threadGroupWorkRegionDimRcas - 1) / threadGroupWorkRegionDimRcas;
int threadGroupsX = (UpscalerConsts.upscaleSize.x + threadGroupWorkRegionDimRcas - 1) / threadGroupWorkRegionDimRcas;
int threadGroupsY = (UpscalerConsts.upscaleSize.y + threadGroupWorkRegionDimRcas - 1) / threadGroupWorkRegionDimRcas;
_sharpenPass.ScheduleDispatch(commandBuffer, dispatchParams, frameIndex, threadGroupsX, threadGroupsY);
}

Loading…
Cancel
Save