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