dawn-cmake/test/expressions/unary/negate/negate.wgsl.expected.wgsl

8 lines
94 B
WebGPU Shading Language

fn i(x : i32) -> i32 {
return -(x);
}
fn vi(x : vec4<i32>) -> vec4<i32> {
return -(x);
}