dawn-cmake/test/intrinsics/gen/modf/4fe3d9.wgsl.expected.wgsl

21 lines
333 B
WebGPU Shading Language

fn modf_4fe3d9() {
var arg_1 : vec3<f32>;
var res : vec3<f32> = modf(vec3<f32>(), &(arg_1));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
modf_4fe3d9();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
modf_4fe3d9();
}
[[stage(compute)]]
fn compute_main() {
modf_4fe3d9();
}