Reproduction steps:
1. Open the attached project “UsePassBug”
2. Enter Play mode
3. Click the “SRP” button in the Game view
4. Click the “Built-in” button in the Game view
Expected result: the cube is visible regardless of which button is clicked
Actual result: the cube disappears when the “Built-in” button is clicked
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.19f1, 2023.1.0b17, 2023.2.0a15
Reproducible on: macOS 13.2.1 (Intel)
Note: not reproducible when the first SubShader is deleted or its pass is changed to "USE"