How to reproduce:
1. Open the attached “IN-94612” project
2. Open the “SampleScene”
3. Enter Play mode
4. Press buttons in descending order starting with “ClearDepth”
5. Observe result
Expected result: The cube remains green
Actual result: The cube's default texture appears (grey)
Reproducible in: 2022.3.59f1
Could not test with: 6000.0.40f1, 6000.1.0b7, 6000.2.0a4 (compatibility issues with ScriptableRenderPipeline)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Not reproducible with DX11, DX12, OpenGL