dawn-cmake/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.wgsl

23 lines
313 B
WebGPU Shading Language

enable f16;
fn modf_45005f() {
var arg_0 = vec3<f16>(-(1.5h));
var res = modf(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
modf_45005f();
return vec4<f32>();
}
@fragment
fn fragment_main() {
modf_45005f();
}
@compute @workgroup_size(1)
fn compute_main() {
modf_45005f();
}