Sign in
dawn
/
tint
/
9943de6813695e831a9e6aa43ae36322e81ae3e6
/
.
/
test
/
expressions
/
binary
/
mod_by_zero
/
by_constant
/
vec3-vec3
/
i32.wgsl.expected.msl
blob: 7619c9c3ebd3305d8885a74f35e02c91fc6edb34 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int3
const
a
=
int3
(
1
,
2
,
3
);
int3
const
b
=
int3
(
0
,
5
,
0
);
int3
const
r
=
(
a
%
b
);
return
;
}