dawn-cmake/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl

7 lines
96 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
let a = 1.;
let b = 2.;
let r : f32 = a % b;
}