From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99349] Failed to build shader (translation from TGSI) Date: Wed, 24 May 2017 13:10:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1810147589==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D57B96E676 for ; Wed, 24 May 2017 13:10:42 +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 --===============1810147589== Content-Type: multipart/alternative; boundary="14956314421.BFDcf6A.31096"; charset="UTF-8" --14956314421.BFDcf6A.31096 Date: Wed, 24 May 2017 13:10:42 +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=3D99349 --- Comment #3 from Gert Wollny --- I've had the same error output when I was playing with the Unreal Editor wi= th an HD6850 (BARTS) using the latest mesa-git.=20=20 In order to track it down I added some debugging to mesa and could get the= =20 following trace that leads to the error: r600/r600_asm.c:615=20 check_and_set_bank_swizzle - Couldn't find a working swizzle drivers/r600/r600_shader.c:3975=20 tgsi_op2_s - Error in tgsi_op2_s, i =3D 3, r600_bytecode_add_alu returned= -1 r600/r600_shader.c:3332=20 r600_shader_from_tgsi - Failed to build shader at ctx.inst_info->process,=20 chip class: 6, opcode: 7 result: -1 Since I added output for every "return -1" in r600/r600_asm.c I also get a = lots of other messages, but I guess that these are normal.=20 Debugging the code I also found that check_and_set_bank_swizzle exiting wi= th "Couldn't find a working swizzle" is not necessarily an error, which means = that I'm now a bit lost, because I'm not sure about how continue debugging this problem. --=20 You are receiving this mail because: You are the assignee for the bug.= --14956314421.BFDcf6A.31096 Date: Wed, 24 May 2017 13:10:42 +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

Comment= # 3 on bug 99349<= /a> from Gert Wollny
I've had the same error output when I was playing with the Unr=
eal Editor with
an HD6850  (BARTS) using the latest mesa-git.=20=20

In order to track it down I added some debugging to mesa and could get the=
=20
following trace that leads to the error:

r600/r600_asm.c:615=20
  check_and_set_bank_swizzle - Couldn't find a working swizzle

drivers/r600/r600_shader.c:3975=20
  tgsi_op2_s - Error in tgsi_op2_s, i =3D 3, r600_bytecode_add_alu returned=
  -1

r600/r600_shader.c:3332=20
r600_shader_from_tgsi - Failed to build shader at ctx.inst_info->process=
,=20
   chip class: 6, opcode: 7 result: -1

Since I added output for every "return -1" in r600/r600_asm.c I a=
lso get a lots
of other messages, but I guess that these are normal.=20

Debugging the code I also found  that check_and_set_bank_swizzle exiting wi=
th
"Couldn't find a working swizzle" is not necessarily an error, wh=
ich means that
I'm now a bit lost, because I'm not sure about how continue debugging this
problem.


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