dawn-cmake/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.wgsl

21 lines
297 B
WebGPU Shading Language

fn modf_5ea256() {
var arg_0 = vec3<f32>(1.0f);
var res = modf(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
modf_5ea256();
return vec4<f32>();
}
@fragment
fn fragment_main() {
modf_5ea256();
}
@compute @workgroup_size(1)
fn compute_main() {
modf_5ea256();
}