Sign in
dawn
/
tint
/
25c6505a64498f4ebcc521b4b4e9f5fc93c8752a
/
.
/
test
/
expressions
/
binary
/
mod_by_zero
/
by_expression
/
scalar-scalar
/
i32.wgsl.expected.msl
blob: ead2dcea05a1dde1ae64a730641e0a1572b4de35 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
a
=
1
;
int
b
=
0
;
int
const
r
=
(
a
%
as_type
<int>
((
as_type
<uint>
(
b
)
+
as_type
<uint>
(
b
))));
return
;
}