How to reproduce:
1. Open the attached “IN-35464” project
2. Enter the Play Mode in the “SampleScene” Scene
3. Toggle on the “Stats” preview in the Game view
4. Record the CPU timing for Graphics
5. Select the “GameObject → Canvas → Image” GameObject in the Hierarchy
6. Click the drop-down under the Shader field in the Inspector
7. Record the CPU timing for Graphics
8. Compare the timing records of the 4th and 7th steps
Expected result: The timing difference shouldn’t be more than 1ms
Actual result: The timing difference is ~6x times
Reproducible with: 2020.3.46f1, 2021.3.16f1, 2022.2.11f1, 2023.1.0b9, 2023.2.0a7
Reproduced on: macOS 13.0 (Intel)
Edit 03/20/2023: although the initial description says it is MacOs only, the attached screenshots are using DX11 API, therefore it should also be reproducible on Windows.