dawn-cmake/test/intrinsics/ignore.wgsl.expected.wgsl

9 lines
123 B
WebGPU Shading Language

fn f(a : i32, b : i32, c : i32) -> i32 {
return ((a * b) + c);
}
[[stage(compute)]]
fn main() {
ignore(f(1, 2, 3));
}