dawn-cmake/test/tint/builtins/gen/var/modf/180fed.wgsl.expected.wgsl

21 lines
285 B
WebGPU Shading Language

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