blob: 15f873e1aef6c49adf9bb17dcae2066ee0b0c14c [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float f(int i) {
float3 v = float3(1.0f, 2.0f, 3.0f);
return v[i];
}