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