[Mesa-dev] [Bug 102021] ir validation assert on valid GLSL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 3 07:08:19 UTC 2017


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

            Bug ID: 102021
           Summary: ir validation assert on valid GLSL
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: airlied at freedesktop.org
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 133219
  --> https://bugs.freedesktop.org/attachment.cgi?id=133219&action=edit
test to demonstrate error.

I've written a cut down test that shows a problem virgl hits.

It triggers an assert in the validation that the ir->type and
ir->operands[0]->type for an abs op are the same and they aren't.

  temp0[1].x = float(inversesqrt( abs(temp0[0]).x));
  temp0[1].y = float(inversesqrt( abs(temp0[0]).y));

is the construct that the compiler squashes incorrectly.

Not sure what pass is responsible for this yet.

-- 
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/20170803/193cddcb/attachment.html>


More information about the mesa-dev mailing list