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