[Mesa-dev] [Bug 109229] glLinkProgram locks up for ~30 seconds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 28 22:56:21 UTC 2019


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

Timothy Arceri <t_arceri at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Timothy Arceri <t_arceri at yahoo.com.au> ---
Should be fixed by:

commit fb78a6cb72270de271f75d6f6c9b5ebadba7a898
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Mon Jan 28 17:15:34 2019 +1100

    glsl: use remap location when serialising uniform program resource data

    This allows us to avoid expensive string compares since we already have
    a map to the pointers.

    These compares were taking ~30 seconds for a single shader compile
    in Godot due to it using 64,000+ uniforms.

    Fixes: c4cff5f40254 ("glsl: add basic support for resource list to shader
cache")

    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109229

-- 
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/mesa-dev/attachments/20190128/5c050290/attachment.html>


More information about the mesa-dev mailing list