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