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