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

13 lines
247 B
WebGPU Shading Language

intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
ignore(f(1, 2, 3));
^^^^^^
fn f(a : i32, b : i32, c : i32) -> i32 {
return ((a * b) + c);
}
[[stage(compute), workgroup_size(1)]]
fn main() {
ignore(f(1, 2, 3));
}