Sign in
dawn
/
dawn
/
0d2aedf097a4c3732dff03fc901dfd73da909968
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
scalar-vec3
/
f32.wgsl.expected.msl
blob: e251ea7909005774916b2af3e30bd642ec6b7538 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
float
const
a
=
4.0f
;
float3
const
b
=
float3
(
0.0f
,
2.0f
,
0.0f
);
float3
const
r
=
(
a
/
b
);
return
;
}