Bug 94091 - Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler descriptors into one array
Summary: Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 14:30 UTC by Andy Furniss
Modified: 2016-02-11 16:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
gdb bt (1.80 KB, text/plain)
2016-02-11 14:30 UTC, Andy Furniss
Details

Description Andy Furniss 2016-02-11 14:30:59 UTC
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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.