Sign in
dawn
/
dawn
/
5555694d23e1507c24c76827003d765f6593ecf2
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
scalar-vec3
/
f16.wgsl.expected.dxc.hlsl
blob: 2f3064f82a7ff5d4e8d54bc96fe0130cb558efac [
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
(
1.0h
),
float16_t
(
2.0h
),
float16_t
(
3.0h
));
const
vector
<
float16_t
,
3
>
r
=
(
a
+
b
);
return
;
}