From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 101977] UE4 4.17 causes Assertion
`G_0286CC_LINEAR_CENTER_ENA(shader->config.spi_ps_input_addr)' failed
Date: Tue, 08 Aug 2017 21:12:58 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0102310589=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 184946E239
for ; Tue, 8 Aug 2017 21:12:58 +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
--===============0102310589==
Content-Type: multipart/alternative; boundary="15022267780.6dFC96b.13566";
charset="UTF-8"
--15022267780.6dFC96b.13566
Date: Tue, 8 Aug 2017 21:12:58 +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=3D101977
--- Comment #12 from Marek Ol=C5=A1=C3=A1k ---
.AMDGPU.config coming from LLVM is empty with UE4Editor. This assertion fai=
ls:
diff --git a/src/amd/common/ac_binary.c b/src/amd/common/ac_binary.c
index 618b5cf..2fbb575 100644
--- a/src/amd/common/ac_binary.c
+++ b/src/amd/common/ac_binary.c
@@ -148,6 +148,7 @@ void ac_elf_read(const char *elf_data, unsigned elf_siz=
e,
} else if (!strcmp(name, ".AMDGPU.config")) {
section_data =3D elf_getdata(section, section_data);
binary->config_size =3D section_data->d_size;
+ assert(binary->config_size);
binary->config =3D MALLOC(binary->config_size *
sizeof(unsigned char));
memcpy(binary->config, section_data->d_buf,
binary->config_size);
} else if (!strcmp(name, ".AMDGPU.disasm")) {
Any ideas?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15022267780.6dFC96b.13566
Date: Tue, 8 Aug 2017 21:12:58 +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 # 12
on bug 10197=
7
from Marek Ol=C5=A1=C3=A1k
.AMDGPU.config coming from LLVM is empty with UE4Editor. This =
assertion fails:
diff --git a/src/amd/common/ac_binary.c b/src/amd/common/ac_binary.c
index 618b5cf..2fbb575 100644
--- a/src/amd/common/ac_binary.c
+++ b/src/amd/common/ac_binary.c
@@ -148,6 +148,7 @@ void ac_elf_read(const char *elf_data, =
unsigned elf_size,
} else if (!strcmp(name, ".AMDGPU.config")) {
section_data =3D elf_getdata(section, section_data);
binary->config_size =3D section_data->d_size;
+ assert(binary->config_size);
binary->config =3D MALLOC(binary->config_size=
*
sizeof(unsigned char));
memcpy(binary->config, section_data->d_buf,
binary->config_size);
} else if (!strcmp(name, ".AMDGPU.disasm")) {
Any ideas?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15022267780.6dFC96b.13566--
--===============0102310589==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0102310589==--