2021-07-23 16:43:01 +00:00
|
|
|
intrinsics/gen/frexp/a2a617.wgsl:29:18 warning: use of deprecated intrinsic
|
|
|
|
var res: f32 = frexp(1.0, &arg_1);
|
|
|
|
^^^^^
|
|
|
|
|
2021-06-18 18:56:13 +00:00
|
|
|
var<private> arg_1 : i32;
|
|
|
|
|
|
|
|
fn frexp_a2a617() {
|
|
|
|
var res : f32 = frexp(1.0, &(arg_1));
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
|
|
frexp_a2a617();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
frexp_a2a617();
|
|
|
|
}
|
|
|
|
|
2021-06-29 18:39:44 +00:00
|
|
|
[[stage(compute), workgroup_size(1)]]
|
2021-06-18 18:56:13 +00:00
|
|
|
fn compute_main() {
|
|
|
|
frexp_a2a617();
|
|
|
|
}
|