dawn-cmake/test/expressions/binary/div/scalar-scalar/i32.wgsl.expected.wgsl

7 lines
100 B
WebGPU Shading Language

[[stage(compute), workgroup_size(1)]]
fn f() {
let a = 1;
let b = 2;
let r : i32 = (a / b);
}