Sign in
dawn
/
dawn
/
60e913d199426d25b5c1aa8542db6d8506cf2b54
/
.
/
test
/
tint
/
statements
/
compound_assign
/
divide_by_zero.wgsl.expected.wgsl
blob: 2a63fc2cf35e1e320656b142d3b7c61b9275fada [
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
);
}