Sign in
dawn
/
dawn
/
3e1501af29365c74b18b7c9090a46b779a204bfb
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
scalar-vec3
/
i32.wgsl.expected.msl
blob: 6d2f8bc1235951dc74b7d79da599cb8b16608985 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
a
=
4
;
int3 b
=
int3
(
0
,
2
,
0
);
int3
const
r
=
(
a
/
as_type
<int3>
((
as_type
<uint3>
(
int3
(
b
))
+
as_type
<uint3>
(
int3
(
b
)))));
return
;
}