Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
scalar-scalar
/
f16.wgsl
blob: 610425e98a72b645977a13527338cbbc046b16a2 [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
let
a
=
1.h
;
let
b
=
2.h
;
let
r
:
f16
=
a
-
b
;
}