23 lines
293 B
Plaintext
23 lines
293 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void length_afde8b() {
|
||
|
float res = length(float2());
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
length_afde8b();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
length_afde8b();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
length_afde8b();
|
||
|
return;
|
||
|
}
|
||
|
|