dawn-cmake/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.wgsl

21 lines
293 B
WebGPU Shading Language
Raw Normal View History

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