dawn-cmake/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl

7 lines
147 B
WebGPU Shading Language

@stage(compute) @workgroup_size(1)
fn f() {
let a = vec3<f32>(1., 2., 3.);
let b = vec3<f32>(4., 5., 6.);
let r : vec3<f32> = a / b;
}