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

9 lines
109 B
WebGPU Shading Language

enable f16;
@compute @workgroup_size(1)
fn f() {
let a = 1.0h;
let b = 2.0h;
let r : f16 = (a % b);
}