Reproduction steps:
1. Open the attached project “ARTIFACTS“
2. Enter the Play Mode
3. Select “Main Camera“ GameObject and enable “Allow DLSS“ in Rendering
4. Observe the artifacts
Expected result: Cubes are rendered in front of the UI
Actual result: Custom pass is rendered at a lower resolution and cubes appear behind the UI
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Can also be reproduced by using TAA Upscale and setting “Maximum Screen Percentage“ to less than 100% in the HDRP Asset