Sign in
dawn
/
dawn
/
2fce40705f903a3b28973c0764d610aea5bcf54c
/
.
/
test
/
tint
/
statements
/
compound_assign
/
divide_by_zero.wgsl
blob: 5e340f930d8c82603bb99e12f5fe10a764d031d7 [
file
] [
log
] [
blame
]
var
<private>
a
:
i32
;
var
<private>
b
:
f32
;
fn foo
(
maybe_zero
:
i32
)
{
a
/=
maybe_zero
;
a
%=
maybe_zero
;
b
/=
0.0
;
b
%=
0.0
;
b
/=
f32
(
maybe_zero
);
b
%=
f32
(
maybe_zero
);
}