Sign in
◑
Theme
dawn
/
dawn
/
be6b4f8e2175da646966745a6cc1f94de92ad512
/
.
/
test
/
tint
/
expressions
/
literals
/
intmin.wgsl.expected.msl
blob: 9c65f58e387afa83cf0a923274dbee6694f978eb [
file
]
#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
;
}