Sign in
dawn
/
dawn
/
144ebed4c7ee7c6ecddeedfa81d607bbf256e8f2
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
vec3-scalar
/
f16.wgsl
blob: 13d3100d3ffead91dff563aaeeebd9b91216e489 [
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
;
}