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