Sign in
dawn
/
tint
/
25c6505a64498f4ebcc521b4b4e9f5fc93c8752a
/
.
/
test
/
expressions
/
binary
/
mod_by_zero
/
by_constant
/
scalar-vec3
/
i32.wgsl.expected.msl
blob: 95a93f72b8f73fb8d495ff7ba54c91d3af3744e1 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
const
a
=
4
;
int3
const
b
=
int3
(
0
,
2
,
0
);
int3
const
r
=
(
a
%
b
);
return
;
}