From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 105442] Hang when running nine ff lighting shader
Date: Sun, 11 Mar 2018 22:25:23 +0000 [thread overview]
Message-ID: <bug-105442-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1757 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=105442
Bug ID: 105442
Summary: Hang when running nine ff lighting shader
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: davyaxel0@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
Created attachment 138005
--> https://bugs.freedesktop.org/attachment.cgi?id=138005&action=edit
tgsi, llvm and asm
Any app/game running nine ff shader with lighting on hangs on my RX480 with
mesa git/llvm 5.0.1
The shader works well under llvmpipe and works with mesa 17.2. sisched or not
doesn't make a difference.
The shader features a loop over the lights. When the lights is the last (a
constant is set to 1) the loop should stop.
The constants start at pos 32 and are then incremented by 8.
I suspect comparing the correct and the fauly generated shader that the
increment happens at the beginning of the loop instead of at the end:
The faulty shader has:
s_branch BB0_2 ; BF820000
v_add_f32_e32 v20, 0x41000000, v20 ; 022828FF 41000000
According to the s_branch encoding, it should do PC = PC + 4
Does that mean it is noop ?
Or could it be that it jumps in the middle of the the two word following
instruction ? Thus causing the constant to be interpreted as an instruction ?
It could be an llvm bug or a mesa bug, thus I'm posting here in any case.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3251 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-03-11 22:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-11 22:25 bugzilla-daemon [this message]
2018-03-14 23:09 ` [Bug 105442] Hang when running nine ff lighting shader bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-105442-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.