Sign in
dawn
/
dawn
/
5c99ed046a4488cfaba59b7cc5a61f3926c31e70
/
.
/
test
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
scalar-vec3
/
i32.wgsl.expected.msl
blob: 89df256097d3b7b001c6329802fe50022fe81acd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
const
a
=
4
;
int3
const
b
=
int3
(
0
,
2
,
0
);
int3
const
r
=
(
a
/
b
);
return
;
}