flowchart LR
c["ClearRenderTargetView
colour (4 floats)"] --> conv["mtl12 converts it like a shader output:
truncate, saturate, NaN → 0"]
conv --> bits["integer bits for integer formats"] --> m["Metal clear"]
subgraph ex["raw Metal ✘ vs D3D12 and mtl12 now ✔"]
direction TB
e1["FLT_MAX on float16: infinity ✘ · 65504 ✔"]
e2["INF on R32_UINT: 0 ✘ · 0xffffffff ✔"]
e3["2³¹ on R32_SINT: 0x80000000 ✘ · 0x7fffffff ✔"]
e1 ~~~ e2 ~~~ e3
end
conv -.- ex