10 lines
136 B
Plaintext
10 lines
136 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
float f() {
|
||
|
float3 v = float3(1.0f, 2.0f, 3.0f);
|
||
|
int const i = 1;
|
||
|
return v[i];
|
||
|
}
|
||
|
|