dawn-cmake/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.wgsl

20 lines
277 B
WebGPU Shading Language
Raw Normal View History

fn fract_fa5c71() {
var res : f32 = fract(1.25f);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
fract_fa5c71();
return vec4<f32>();
}
@fragment
fn fragment_main() {
fract_fa5c71();
}
@compute @workgroup_size(1)
fn compute_main() {
fract_fa5c71();
}