From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105317] The GPU Vega 56 was hang while try to pass #GraphicsFuzz shader15 test Date: Sun, 01 Apr 2018 03:47:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0823979709==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7EC576E0DA for ; Sun, 1 Apr 2018 03:47:00 +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 --===============0823979709== Content-Type: multipart/alternative; boundary="15225544202.0eBb8f7.24136" Content-Transfer-Encoding: 7bit --15225544202.0eBb8f7.24136 Date: Sun, 1 Apr 2018 03:47:00 +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=3D105317 --- Comment #4 from Timothy Arceri --- Created attachment 138471 --> https://bugs.freedesktop.org/attachment.cgi?id=3D138471&action=3Dedit Shader runner link test I've distilled one problem in the attached shader runner test. Seems we have another unrolling bug somewhere in the GLSL IR unrolling pass. We end up with the following: FRAG DCL OUT[0], COLOR DCL TEMP[0..3], LOCAL IMM[0] UINT32 {0, 4294967295, 0, 0} IMM[1] INT32 {0, 1, 0, 0} IMM[2] FLT32 { 1.0000, 0.0000, 0.0000, 0.0000} 0: MOV TEMP[0].x, IMM[0].xxxx 1: MOV TEMP[1].x, IMM[1].xxxx 2: BGNLOOP 3: USEQ TEMP[2].x, TEMP[1].xxxx, IMM[1].yyyy 4: UIF TEMP[2].xxxx 5: BRK 6: ENDIF 7: MOV TEMP[3], IMM[2].xxxx 8: MOV TEMP[0].x, IMM[0].yyyy 9: BRK 10: UADD TEMP[1].x, TEMP[1].xxxx, IMM[1].yyyy 11: ENDLOOP 12: MOV OUT[0], IMM[2].xxxx 13: END Terminator found in the middle of a basic block! label %endif6 LLVM ERROR: Broken function found, compilation aborted! --=20 You are receiving this mail because: You are the assignee for the bug.= --15225544202.0eBb8f7.24136 Date: Sun, 1 Apr 2018 03:47:00 +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

Commen= t # 4 on bug 10531= 7 from Timothy Arceri
Created attachment 13847=
1 [details]
Shader runner link test

I've distilled one problem in the attached shader runner test. Seems we have
another unrolling bug somewhere in the GLSL IR unrolling pass.

We end up with the following:

FRAG
DCL OUT[0], COLOR
DCL TEMP[0..3], LOCAL
IMM[0] UINT32 {0, 4294967295, 0, 0}
IMM[1] INT32 {0, 1, 0, 0}
IMM[2] FLT32 {    1.0000,     0.0000,     0.0000,     0.0000}
  0: MOV TEMP[0].x, IMM[0].xxxx
  1: MOV TEMP[1].x, IMM[1].xxxx
  2: BGNLOOP
  3:   USEQ TEMP[2].x, TEMP[1].xxxx, IMM[1].yyyy
  4:   UIF TEMP[2].xxxx
  5:     BRK
  6:   ENDIF
  7:   MOV TEMP[3], IMM[2].xxxx
  8:   MOV TEMP[0].x, IMM[0].yyyy
  9:   BRK
 10:   UADD TEMP[1].x, TEMP[1].xxxx, IMM[1].yyyy
 11: ENDLOOP
 12: MOV OUT[0], IMM[2].xxxx
 13: END

Terminator found in the middle of a basic block!
label %endif6
LLVM ERROR: Broken function found, compilation aborted!


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