25 lines
506 B
WebGPU Shading Language
25 lines
506 B
WebGPU Shading Language
intrinsics/gen/modf/4bb324.wgsl:29:24 warning: use of deprecated intrinsic
|
|
var res: vec4<f32> = modf(vec4<f32>(), &arg_1);
|
|
^^^^
|
|
|
|
fn modf_4bb324() {
|
|
var arg_1 : vec4<f32>;
|
|
var res : vec4<f32> = modf(vec4<f32>(), &(arg_1));
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
modf_4bb324();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
modf_4bb324();
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn compute_main() {
|
|
modf_4bb324();
|
|
}
|