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