Sign in
dawn
/
dawn
/
45cd391d56356c62c08672f6f86fe7fdd30e4e13
/
.
/
test
/
tint
/
expressions
/
literals
/
intmin.wgsl.expected.msl
blob: 3910d7808b96924bb3489389a2fe528e5e162661 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
add_int_min_explicit
()
{
int
a
=
(-
2147483647
-
1
);
int
b
=
as_type
<int>
((
as_type
<uint>
(
a
)
+
as_type
<uint>
(
1
)));
int
c
=
-
2147483647
;
return
c
;
}