From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106928] When starting a match Rocket League crashes on "Go" Date: Fri, 29 Jun 2018 19:09:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1478511938==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8FF376F16E for ; Fri, 29 Jun 2018 19:09:41 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1478511938== Content-Type: multipart/alternative; boundary="15302993810.E4B0d7Ed.7252" Content-Transfer-Encoding: 7bit --15302993810.E4B0d7Ed.7252 Date: Fri, 29 Jun 2018 19:09:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106928 --- Comment #13 from ubizjak@gmail.com --- (In reply to Roland Scheidegger from comment #12) > (In reply to ubizjak from comment #11) > > The (effectively the same patch as yours) proposed patch would be: > >=20 > > diff --git a/src/gallium/drivers/r600/sb/sb_expr.cpp > > b/src/gallium/drivers/r600/sb/sb_expr.cpp > > index 7a5d62c8e8..a609d1377f 100644 > > --- a/src/gallium/drivers/r600/sb/sb_expr.cpp > > +++ b/src/gallium/drivers/r600/sb/sb_expr.cpp > > @@ -714,6 +714,8 @@ bool expr_handler::fold_assoc(alu_node *n) { > >=20=20 > > n->src.resize(2); > > n->bc.set_op(ALU_OP2_ADD); > > + fold_alu_op2(*n); > > + return true; > > } > > } else if (last_arg >=3D 0) { > > n->src[0] =3D a->src[last_arg]; > >=20 > > WDYT? >=20 > I am not quite convinced it's ok to return true (in fold_alu_op3) if the > expression hasn't really been folded. You are quite right that just above= it > looks similar, but all other places always return the return value of > fold_alu_op2 when calling into it from fold_alu_op3. > (Not saying it isn't correct, just saying I can't tell...) Beeing a newcomer, I'm also not too familiar with this code, and there are = no comments on what the return value really means. Instead of guessing, is it possible for you to invite the author or other knowledgeable people from me= sa community to the discussion in this bugreport? Looking at the commit logs of src/gallium/drivers/r600/sb, there are quite = some experts that can perhaps help here... --=20 You are receiving this mail because: You are the assignee for the bug.= --15302993810.E4B0d7Ed.7252 Date: Fri, 29 Jun 2018 19:09:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 13 on bug 10692= 8 from ubizjak@gmail.co= m
(In reply to Roland Scheidegger from comment #12)
> (In reply to ubizjak from comment #11)
> > The (effectively the same patch as yours) proposed patch would be:
> >=20
> > diff --git a/src/gallium/drivers/r600/sb/sb_expr.cpp
> > b/src/gallium/drivers/r600/sb/sb_expr.cpp
> > index 7a5d62c8e8..a609d1377f 100644
> > --- a/src/gallium/drivers/r600/sb/sb_expr.cpp
> > +++ b/src/gallium/drivers/r600/sb/sb_expr.cpp
> > @@ -714,6 +714,8 @@ bool expr_handler::fold_assoc=
(alu_node *n) {
> >=20=20
> >                         n->src.resize(2);
> >                         n->bc.set_op(ALU_OP2_ADD);
> > +                       fold_alu_op2(*n);
> > +                       return true;
> >                 }
> >         } else if (last_arg >=3D 0) {
> >                 n->src[0] =3D a->src[last_arg];
> >=20
> > WDYT?
>=20
> I am not quite convinced it's ok to return true (in fold_alu_op3) if t=
he
> expression hasn't really been folded. You are quite right that just ab=
ove it
> looks similar, but all other places always return the return value of
> fold_alu_op2 when calling into it from fold_alu_op3.
> (Not saying it isn't correct, just saying I can't tell...)

Beeing a newcomer, I'm also not too familiar with this code, and there are =
no
comments on what the return value really means. Instead of guessing, is it
possible for you to invite the author or other knowledgeable people from me=
sa
community to the discussion in this bugreport?

Looking at the commit logs of src/gallium/drivers/r600/sb, there are quite =
some
experts that can perhaps help here...


You are receiving this mail because:
  • You are the assignee for the bug.
= --15302993810.E4B0d7Ed.7252-- --===============1478511938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1478511938==--