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