Sign in
dawn
/
dawn
/
3e1501af29365c74b18b7c9090a46b779a204bfb
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
vec3-vec3
/
i32.wgsl.expected.msl
blob: c90c00e08014d1737573a0985b1d5f18f9132e1f [
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>
(
int3
(
b
))
+
as_type
<uint3>
(
int3
(
b
)))));
return
;
}