Sign in
dawn
/
dawn
/
00aa7ef462c5cbc450f081a97dc68dddb7b2425a
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
vec3-scalar
/
f16.wgsl.expected.dxc.hlsl
blob: d473658eb94741960d6e29ab1d99710acc3e076f [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
vector
<
float16_t
,
3
>
a
=
vector
<
float16_t
,
3
>(
float16_t
(
1.0h
),
float16_t
(
2.0h
),
float16_t
(
3.0h
));
const
float16_t
b
=
float16_t
(
4.0h
);
const
vector
<
float16_t
,
3
>
r
=
(
a
+
b
);
return
;
}