Sign in
dawn
/
dawn
/
2710affeaeca38dbaf3039b95903f113de88b11a
/
.
/
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
);
}