Sign in
dawn
/
tint
/
ce982d8a06926f1af07fda17ed635a87eb38bd5c
/
.
/
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
;
}