[Bug 94477] Too many temporary expressions in shader freeze glLinkProgram

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 10 15:00:15 UTC 2016


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

            Bug ID: 94477
           Summary: Too many temporary expressions in shader freeze
                    glLinkProgram
           Product: Mesa
           Version: 11.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: martina.kollarova at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 122206
  --> https://bugs.freedesktop.org/attachment.cgi?id=122206&action=edit
glxinfo output

This bug is causing a webgl conformance test in Chromium to freeze and time
out. https://bugs.chromium.org/p/chromium/issues/detail?id=593680

The shader contains something like:

  temp += 
      u_uniform +
      u_uniform -
      u_uniform /
      u_uniform *
      u_uniform +
      u_uniform -
      u_uniform /
      u_uniform *
      u_uniform +
      u_uniform -
      u_uniform ;

repeated 1000 times. It freezes forever (I waited 30 minutes) on glLinkProgram.
It doesn't freeze if it's repeated only ~100 times.
I created a small reproducer that uses approximately the same shaders as the
test in Chromium: https://github.com/mkollaro/opengl_snippets, you can try it
out with:

mkdir build && cd build && cmake .. && make && ./bin/shader_freeze

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


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