dawn-cmake/test/tint/expressions/literals/intmin.wgsl.expected.wgsl

7 lines
120 B
WebGPU Shading Language

fn add_int_min_explicit() -> i32 {
var a = -2147483648;
var b = (a + 1);
var c = (-2147483648 + 1);
return c;
}