Sign in
dawn
/
dawn
/
a4bae3f8533286eb6d9f08cad8c8a2dce29a502d
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
vec3-vec3
/
f16.wgsl
blob: a4e852b85339bb7b4708cb5949a7cc378646c41e [
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
;
}