dawn-cmake/test/intrinsics/gen/modf/684d46.wgsl.expected.wgsl

20 lines
297 B
WebGPU Shading Language
Raw Normal View History

fn modf_684d46() {
var res = modf(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
modf_684d46();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
modf_684d46();
}
[[stage(compute), workgroup_size(1)]]
fn compute_main() {
modf_684d46();
}