From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 62696] [r300g, bisected] Around 50 piglit vs variable-indexing
tests fails after "glsl_to_tgsi: allocate arrays separately v2"
Date: Mon, 25 Mar 2013 08:51:34 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0471084751=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B9868E5F76
for ;
Mon, 25 Mar 2013 01:51:34 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0471084751==
Content-Type: multipart/alternative; boundary="1364201494.f27E55C0.10262"; charset="us-ascii"
--1364201494.f27E55C0.10262
Date: Mon, 25 Mar 2013 08:51:34 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D62696
Christian K=C3=B6nig changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #5 from Christian K=C3=B6nig ---
(In reply to comment #4)
> I thought the array support was backward compatible. If if were true, this
> patch wouldn't be needed, right?
Yes indeed, and I find that rather strange, too.
Well one thing that I haven't considered before is that when a target doesn=
't
support indirect addressing all indirect accesses are replaced with a chain=
of
"if (i =3D=3D 0) then return x[0] else if (i =3D=3D 1) then return x[1]....=
.", so
having arrays separated makes this inefficient code even more inefficient
(cause the register scavenger then leaves arrays alone), that's what this p=
atch
really should fix.
But you're right, it should NEVER result in incorrect code, so we either ha=
ve a
bug in R300g that's triggered by using more registers than necessary
(unlikely), or we are still missing something in the glsl_to_tgsi pass
(likely).
@Pavel: Could you make sure that the vs-uniform-array-mat2-col-row-rd test =
is
indeed failing with that change? And also please attach a log of the good c=
ase
for this test.
Thanks in advance,
Christian.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1364201494.f27E55C0.10262
Date: Mon, 25 Mar 2013 08:51:34 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Christian K=C3=B6nig
changed
bug 62696<=
/a>
| What |
Removed |
Added |
| Status |
NEW
|
NEEDINFO
|
Comment=
# 5
on bug 62696<=
/a>
from Christian K=C3=B6nig
(In reply to comment #4=
)
> I thought the array support was backward compati=
ble. If if were true, this
> patch wouldn't be needed, right?
Yes indeed, and I find that rather strange, too.
Well one thing that I haven't considered before is that when a target doesn=
't
support indirect addressing all indirect accesses are replaced with a chain=
of
"if (i =3D=3D 0) then return x[0] else if (i =3D=3D 1) then return x[1=
].....", so
having arrays separated makes this inefficient code even more inefficient
(cause the register scavenger then leaves arrays alone), that's what this p=
atch
really should fix.
But you're right, it should NEVER result in incorrect code, so we either ha=
ve a
bug in R300g that's triggered by using more registers than necessary
(unlikely), or we are still missing something in the glsl_to_tgsi pass
(likely).
@Pavel: Could you make sure that the vs-uniform-array-mat2-col-row-rd t=
est is
indeed failing with that change? And also please attach a log of the good c=
ase
for this test.
Thanks in advance,
Christian.
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1364201494.f27E55C0.10262--
--===============0471084751==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0471084751==--