26 lines
522 B
WebGPU Shading Language
26 lines
522 B
WebGPU Shading Language
intrinsics/gen/frexp/c084e3.wgsl:29:24 warning: use of deprecated intrinsic
|
|
var res: vec2<f32> = frexp(vec2<f32>(), &arg_1);
|
|
^^^^^
|
|
|
|
var<private> arg_1 : vec2<i32>;
|
|
|
|
fn frexp_c084e3() {
|
|
var res : vec2<f32> = frexp(vec2<f32>(), &(arg_1));
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
frexp_c084e3();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
frexp_c084e3();
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn compute_main() {
|
|
frexp_c084e3();
|
|
}
|