blob: cceb94dd73bd8255eb8e69db05b0bbc5eafee509 [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];
}