Sign in
dawn
/
dawn
/
7efe4860c97b491c8bb2480ca4fcff3f8372cab9
/
.
/
test
/
tint
/
expressions
/
binary
/
mod_by_zero
/
by_identifier
/
vec3-vec3
/
f16.wgsl
blob: 50088f16eda71f5c1909dde173054aebe61c5bab [
file
] [
log
] [
blame
]
enable f16
;
@compute
@workgroup_size
(
1
)
fn f
()
{
var
a
=
vec3
<f16>
(
1.h
,
2.h
,
3.h
);
var
b
=
vec3
<f16>
(
0.h
,
5.h
,
0.h
);
let
r
:
vec3
<f16>
=
a
%
b
;
}