Sign in
dawn
/
dawn
/
18b966321bca9ed2a7787c0adbbb18d013fac43e
/
.
/
test
/
tint
/
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
;
}