Sign in
dawn
/
dawn
/
762e826397ab42b8379d9bf3063117b6530be6a3
/
.
/
test
/
tint
/
statements
/
compound_assign
/
divide_by_zero.wgsl.expected.wgsl
blob: 6a6bc58cda255de6d06f364222da7eeed24817b5 [
file
] [
log
] [
blame
]
var
<private>
a
:
i32
;
var
<private>
b
:
f32
;
fn foo
(
maybe_zero
:
i32
)
{
a
/=
0
;
a
%=
0
;
a
/=
maybe_zero
;
a
%=
maybe_zero
;
b
/=
0.0
;
b
%=
0.0
;
b
/=
f32
(
maybe_zero
);
b
%=
f32
(
maybe_zero
);
}