[llvm-bugs] [Bug 31019] New: Tonga Bad rendering since AMDGPU: Implement SGPR spilling with scalar stores

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 15 03:56:02 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31019

            Bug ID: 31019
           Summary: Tonga Bad rendering since AMDGPU: Implement SGPR
                    spilling with scalar stores
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: adf.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17589
  --> https://llvm.org/bugs/attachment.cgi?id=17589&action=edit
valley bad shaders bz2

R9285 VI TONGA getting a screen full of colours with unigine valley (extremehd
preset) since below. Unreal elemental also affected.

commit 4404d0d6e354e80dd7f8f0a0e12d8ad809cf007e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date:   Sun Nov 13 18:20:54 2016 +0000

    AMDGPU: Implement SGPR spilling with scalar stores

    nThis avoids the nasty problems caused by using
    memory instructions that read the exec mask while
    spilling / restoring registers used for control flow
    masking, but only for VI when these were added.

    This always uses the scalar stores when enabled currently,
    but it may be better to still try to spill to a VGPR
    and use this on the fallback memory path.

    The cache also needs to be flushed before wave termination
    if a scalar store is used.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286766
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161115/5bf34c49/attachment.html>


More information about the llvm-bugs mailing list