Some GPUs complain about `error C7011: implicit cast from "int" to "uint"` even if the cast is explicit.