[Bug 99309] [radeonsi]glsl: Override the # of varying slots for ClipDistance and TessLevel*. broke chromium browser

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 7 14:47:06 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99309

            Bug ID: 99309
           Summary: [radeonsi]glsl: Override the # of varying slots for
                    ClipDistance and TessLevel*. broke chromium browser
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: arek.rusi at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

Hi, after upgrade mesa-git chromium starts looking like garbage.
I've tested this on polaris and i965(haswell) and only radeon is infected
kernel - 4.9 or 4.10-drm-next-wip
mesa - from git
llvm - r291295
ddx - amdgpu-git

bisecting:

8b5749f65ac434961308ccb579fb8a816e4f29d5 is the first bad commit
commit 8b5749f65ac434961308ccb579fb8a816e4f29d5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Nov 15 04:37:50 2015 -0800

    glsl: Override the # of varying slots for ClipDistance and TessLevel*.

    Right now, this shouldn't have any effect, as all drivers use
    LowerClipDist and LowerTessFactors to turn the float[] arrays into
    vectors.

    However, it should help make it possible for drivers to avoid that
    lowering.
    me is the only issue for now
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>

after reverting, browser works corectly

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170107/f79360f8/attachment.html>


More information about the dri-devel mailing list