flowchart LR v["clear depth to 0.5 on D16
0.5 × 65535 = 32767.5"] -->|"D3D12 rounds"| d["32768"] v -->|"Metal truncates"| m["32767 ✘"] v -->|"mtl12 passes (32768 + 0.25) / 65535"| n["Metal truncates it to 32768 ✔"]