23 lines
313 B
Plaintext
23 lines
313 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void inverseSqrt_b197b1() {
|
||
|
float3 res = rsqrt(float3());
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
inverseSqrt_b197b1();
|
||
|
return;
|
||
|
}
|
||
|
|