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

8 lines
110 B
WebGPU Shading Language

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