dawn-cmake/test/intrinsics/gen/frexp/b9e4de.wgsl.expected.msl

47 lines
871 B
Plaintext

intrinsics/gen/frexp/b9e4de.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, thread int3* param_1) {
int3 exp;
float3 sig = frexp(param_0, exp);
*param_1 = exp;
return sig;
}
struct tint_symbol {
float4 value [[position]];
};
void frexp_b9e4de() {
int3 arg_1 = 0;
float3 res = tint_frexp(float3(), &(arg_1));
}
float4 vertex_main_inner() {
frexp_b9e4de();
return float4();
}
vertex tint_symbol vertex_main() {
float4 const inner_result = vertex_main_inner();
tint_symbol wrapper_result = {};
wrapper_result.value = inner_result;
return wrapper_result;
}
fragment void fragment_main() {
frexp_b9e4de();
return;
}
kernel void compute_main() {
frexp_b9e4de();
return;
}