[Bug 84053] New: Large shaders using UBOs take a long time to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 18 08:26:14 PDT 2014


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

          Priority: medium
            Bug ID: 84053
          Assignee: idr at freedesktop.org
           Summary: Large shaders using UBOs take a long time to compile
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: idr at freedesktop.org
          Hardware: All
            Status: NEW
           Version: git
         Component: Drivers/DRI/i965
           Product: Mesa

Created attachment 106510
  --> https://bugs.freedesktop.org/attachment.cgi?id=106510&action=edit
Sample shader

For example, the attached shader-runner test took 25 minutes on my IVB laptop. 
On a debug build of Mesa (with -O1), Sysprof says that ~90% of the time is
spent in brw::vec4_live_variables::compute_live_variables().

Changing the test to do

    pass = !(condition) && pass;

instead of

    if (condition)
        pass = false;

appears to end the slaughter.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140918/a01ac78b/attachment.html>


More information about the intel-3d-bugs mailing list