
float f(int i) {
  float3 v = float3(1.0f, 2.0f, 3.0f);
  return v[min(uint(i), 2u)];
}

[numthreads(1, 1, 1)]
void main() {
  f(int(1));
}

