This should thankfully not be needed anymore now that the D3D12 backend has been dropped by 1880a97b.