dawn-cmake/test/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.wgsl

7 lines
101 B
WebGPU Shading Language

@stage(compute) @workgroup_size(1)
fn f() {
let a = 1.0;
let b = 2.0;
let r : f32 = (a - b);
}