Sign in
dawn
/
dawn
/
refs/heads/chromium/5077
/
.
/
test
/
tint
/
expressions
/
binary
/
mod_by_zero
/
by_expression
/
vec3-vec3
/
f32.wgsl
blob: 6a67f5463ef13aa5a8359c6d0026ef7550c0e80e [
file
] [
log
] [
blame
] [
edit
]
@stage
(
compute
)
@workgroup_size
(
1
)
fn f
()
{
var
a
=
vec3
<f32>
(
1.
,
2.
,
3.
);
var
b
=
vec3
<f32>
(
0.
,
5.
,
0.
);
let
r
:
vec3
<f32>
=
a
%
(
b
+
b
);
}