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