From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94091] Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler descriptors into one array Date: Thu, 11 Feb 2016 14:30:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0867212260==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id ACB264A034 for ; Thu, 11 Feb 2016 06:30:59 -0800 (PST) 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 --===============0867212260== Content-Type: multipart/alternative; boundary="14552010590.bbAEcC9.26572"; charset="UTF-8" --14552010590.bbAEcC9.26572 Date: Thu, 11 Feb 2016 14:30:59 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94091 Bug ID: 94091 Summary: Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler descriptors into one array Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 121675 --> https://bugs.freedesktop.org/attachment.cgi?id=121675&action=edit gdb bt R9285 since mesa commit below Unreal ElementalDemo quits at start with a segfault. gdb from demo generated core attached commit 7aedbbacae6d3ec3d06735fff2eb662964773ad2 Author: Marek Olšák Date: Sat Feb 6 22:09:45 2016 +0100 radeonsi: put image, fmask, and sampler descriptors into one array The texture slot is expanded to 16 dwords containing 2 descriptors. Those can be: - Image and fmask, or - Image and sampler state By carefully choosing the locations, we can put all three into one slot, with the fmask and sampler state being mutually exclusive. This improves shaders in 2 ways: - 2 user SGPRs are unused, shaders can use them as temporary registers now - each pair of descriptors is always on the same cache line v2: cosmetic changes: add back v8i32, don't load a sampler state & fmask at the same time -- You are receiving this mail because: You are the assignee for the bug. --14552010590.bbAEcC9.26572 Date: Thu, 11 Feb 2016 14:30:59 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94091
Summary Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler descriptors into one array
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter adf.lists@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 121675 [details]
gdb bt

R9285 since mesa commit below Unreal ElementalDemo quits at start with a
segfault.

gdb from demo generated core attached

commit 7aedbbacae6d3ec3d06735fff2eb662964773ad2
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Sat Feb 6 22:09:45 2016 +0100

    radeonsi: put image, fmask, and sampler descriptors into one array

    The texture slot is expanded to 16 dwords containing 2 descriptors.
    Those can be:
    - Image and fmask, or
    - Image and sampler state

    By carefully choosing the locations, we can put all three into one slot,
    with the fmask and sampler state being mutually exclusive.

    This improves shaders in 2 ways:
    - 2 user SGPRs are unused, shaders can use them as temporary registers now
    - each pair of descriptors is always on the same cache line

    v2: cosmetic changes: add back v8i32, don't load a sampler state & fmask
        at the same time


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