Sign in
dawn
/
tint
/
6d60c046e80acbe10c002d4322e0a20a58b9a416
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvUnaryArithTest_SNegate_Int_Int.spvasm.expected.msl
blob: 4cee065a33064c76c8f9065c9feac8123d804e64 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
tint_unary_minus
(
const
int
v
)
{
return
select
(-
v
,
v
,
v
==
-
2147483648
);
}
void
main_1
()
{
int
const
x_1
=
tint_unary_minus
(
30
);
return
;
}
fragment
void
tint_symbol
()
{
main_1
();
return
;
}