Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
vec3-scalar
/
f16.wgsl
blob: f21bd2b06927ad7bc3d41f44a80908c2c9829b87 [
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
=
4.h
;
let
r
:
vec3
<f16>
=
a
-
b
;
}