Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
vec3-vec3
/
f16.wgsl
blob: b7a58ba00c9284dc9ea64414e46d90a6e9a4db15 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
a
=
vec3
<f16>
(
1.h
,
2.h
,
3.h
);
let
b
=
vec3
<f16>
(
4.h
,
5.h
,
6.h
);
let
r
:
vec3
<f16>
=
a
+
b
;
}