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