Reproduction steps:
1. Open the attached “IN-94789_ComputeShader Depth Buffer Issue.zip“ project (link in the internal comments)
2. Open the “SampleScene”
3. Select “Display 2” from the Display drop-down menu in the Game view
4. Observe the Game view
Expected result: Depth texture is displayed in black and white colours
Actual result: A completely black screen is displayed
Reproducible with: 2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Reproducible in the Player
- Reproducible in a new project