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