Sign in
dawn
/
dawn
/
81d11b3cf1d5d10427b3ee5ac08f3e209d37a97f
/
.
/
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
;
}