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: Thu, 25 May 2017 08:10:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1477938048==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1247C6E8F3 for ; Thu, 25 May 2017 08:10:39 +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 --===============1477938048== Content-Type: multipart/alternative; boundary="14956998390.dF2c.4812"; charset="UTF-8" --14956998390.dF2c.4812 Date: Thu, 25 May 2017 08:10:39 +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 #5 from Gert Wollny --- Adding yet more debugging output, and so far it seems that there is only one operation failing: a multiplication of two operands with a write mask of 0xF (see log below).=20 I also tested gzdoom like the poster I referenced in my last comment, but o= n my machine it works fine.=20 r600_asm.c:1297 r600_bytecode_add_alu_type - check_and_set_bank_swizzle returned -1 r600_asm.c:1303 r600_bytecode_add_alu_type - slot[0]: op: 2, bank_swizzle= :0 bank_swizzle_force: 0 r600_asm.c:1303 r600_bytecode_add_alu_type - slot[1]: op: 2, bank_swizzle= :0 bank_swizzle_force: 0 r600_asm.c:1303 r600_bytecode_add_alu_type - slot[2]: op: 2, bank_swizzle= :0 bank_swizzle_force: 0 r600_asm.c:1303 r600_bytecode_add_alu_type - slot[3]: op: 2, bank_swizzle= :0 bank_swizzle_force: 0 r600_asm.c:1305 r600_bytecode_add_alu_type - slot[4] =3D 0: 0 r600_shader.c:3979 tgsi_op2_s - Error in tgsi_op2_s, i =3D 3, lasti =3D 3, r600_bytecode_add_alu returned -1 r600_shader.c:3981 tgsi_op2_s - op=3D2, num src registers: 2, write_mask= =3D15 r600_shader.c:3983 tgsi_op2_s - alu.dst: {sel: 15, chan: 3, clamp: 0, wri= te: 1, rel: 0 r600_shader.c:3986 tgsi_op2_s - alu.src0: {sel: 160, chan: 3, kc_bank:0 r600_shader.c:3988 tgsi_op2_s - alu.src1: {sel: 535, chan: 3, kc_bank:0 r600_shader.c:3332 r600_shader_from_tgsi - Failed to build shader at ctx.inst_info->process, chip class: 6, opcode: 7 result: -1 r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed ! r600_state_common.c:787 r600_shader_select - Failed to build shader variant (type=3D1) -1 --=20 You are receiving this mail because: You are the assignee for the bug.= --14956998390.dF2c.4812 Date: Thu, 25 May 2017 08:10:39 +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= # 5 on bug 99349<= /a> from Gert Wollny
Adding yet more debugging output, and so far it seems that the=
re is only one
operation failing: a multiplication of two operands with a write mask of 0xF
(see log below).=20

I also tested gzdoom like the poster I referenced in my last comment, but o=
n my
machine it works fine.=20

r600_asm.c:1297 r600_bytecode_add_alu_type - check_and_set_bank_swizzle
returned -1
r600_asm.c:1303 r600_bytecode_add_alu_type -   slot[0]: op: 2, bank_swizzle=
:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type -   slot[1]: op: 2, bank_swizzle=
:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type -   slot[2]: op: 2, bank_swizzle=
:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type -   slot[3]: op: 2, bank_swizzle=
:0
bank_swizzle_force: 0
r600_asm.c:1305 r600_bytecode_add_alu_type -   slot[4] =3D 0: 0
r600_shader.c:3979 tgsi_op2_s - Error in tgsi_op2_s, i =3D 3, lasti =3D 3,
r600_bytecode_add_alu returned  -1
r600_shader.c:3981 tgsi_op2_s -   op=3D2, num src registers: 2, write_mask=
=3D15
r600_shader.c:3983 tgsi_op2_s -   alu.dst: {sel: 15, chan: 3, clamp: 0, wri=
te:
1, rel: 0
r600_shader.c:3986 tgsi_op2_s -   alu.src0: {sel: 160, chan: 3, kc_bank:0
r600_shader.c:3988 tgsi_op2_s -   alu.src1: {sel: 535, chan: 3, kc_bank:0
r600_shader.c:3332 r600_shader_from_tgsi - Failed to build shader at
ctx.inst_info->process, chip class: 6, opcode: 7 result: -1
r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
r600_state_common.c:787 r600_shader_select - Failed to build shader variant
(type=3D1) -1


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