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