Sign in
dawn
/
dawn
/
6ef419d29c1385ec0b8bfd313698cfc0c380588f
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
vec3-vec3
/
i32.wgsl.expected.msl
blob: e2a2a7602618f3dece58ad2985cac936c4a86449 [
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
;
}