Commit 122750a
[WebGPU] Disable URP Depth Priming for WebGPU
https://jira.unity3d.com/browse/PLATGRAPH-3470
On Apple Arm64 (M1+) GPUs, depth priming causes significant rendering artifacts for web builds. WebGL had this same issue and disabled Depth Priming support. We should disable Depth Priming support for WebGPU as well. Depth Priming can actually hurt performance on tile based GPUs like mobile, and we don't know what type of GPU you're running on with the web player. It seems reasonable to just disable support all-together for the web.1 parent 6acf80f commit 122750a
File tree
1 file changed
+3
-2
lines changed- Packages/com.unity.render-pipelines.universal/Runtime
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| 589 | + | |
589 | 590 | | |
590 | | - | |
| 591 | + | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| |||
0 commit comments