HZB Setup Mips in the GPU Visualizer seems to be taking considerable ms in 4.12 and 4.13 compared to 4.11.2.
This seems to mostly affect editor/PIE GPU Visualization but looks like it should when in Standalone Game.
4.11.2 - HZB Setup Mips was 0.02
4.12.5 - HZB Setup Mips was 2.85
4.13 Dev Rendering - HZB SetupMips was 2.82
4.11.2 - HZB SetupMips was 0.02
4.12.5 - HZB SetupMips was 0.08
4.13 Dev Rendering - HZB SetupMips was 1.36
In 4.12 and 4.13 if r.HZBOcclusion was enabled then the PIE/Editor would have the HZBSetupMips register as 0.02ms.
1. Open UE4
2. Setup some actors that can be occluded (attached image for my test setup)
3. Open the GPU Visualizer by holding Ctrl + Shift + ,
4. Look at the HZB SetupMips
Expected: HZB SetupMips shouldn't have this high cost.
Results: HZB SetupMips is using additional ms time when it shouldn't.
Head over to the existing AnswerHub thread and let us know what's up.