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