34 lines
879 B
Plaintext
34 lines
879 B
Plaintext
intrinsics/gen/frexp/40fc9b.wgsl:29:24 warning: use of deprecated intrinsic
|
|
var res: vec3<f32> = frexp(vec3<f32>(), &arg_1);
|
|
^^^^^
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
|
|
float3 tint_frexp(float3 param_0, threadgroup int3* param_1) {
|
|
int3 exp;
|
|
float3 sig = frexp(param_0, exp);
|
|
*param_1 = exp;
|
|
return sig;
|
|
}
|
|
|
|
void frexp_40fc9b(threadgroup int3* const tint_symbol) {
|
|
float3 res = tint_frexp(float3(), tint_symbol);
|
|
}
|
|
|
|
void compute_main_inner(uint local_invocation_index, threadgroup int3* const tint_symbol_1) {
|
|
{
|
|
*(tint_symbol_1) = int3();
|
|
}
|
|
threadgroup_barrier(mem_flags::mem_threadgroup);
|
|
frexp_40fc9b(tint_symbol_1);
|
|
}
|
|
|
|
kernel void compute_main(uint local_invocation_index [[thread_index_in_threadgroup]]) {
|
|
threadgroup int3 tint_symbol_2;
|
|
compute_main_inner(local_invocation_index, &(tint_symbol_2));
|
|
return;
|
|
}
|
|
|