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