Sign in
dawn
/
dawn
/
0d2aedf097a4c3732dff03fc901dfd73da909968
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
scalar-vec3
/
f16.wgsl.expected.dxc.hlsl
blob: 1d718d2df42838660c2f6f1de90c5696a29cf808 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
float16_t
a
=
float16_t
(
4.0h
);
const
vector
<
float16_t
,
3
>
b
=
vector
<
float16_t
,
3
>(
float16_t
(
0.0h
),
float16_t
(
2.0h
),
float16_t
(
0.0h
));
const
vector
<
float16_t
,
3
>
r
=
(
a
/
b
);
return
;
}