[Bug 102387] Assertion failure with UE4Editor and sb enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 24 12:50:15 UTC 2017


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

            Bug ID: 102387
           Summary: Assertion failure with UE4Editor and sb enabled
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: gw.fossdev at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 133745
  --> https://bugs.freedesktop.org/attachment.cgi?id=133745&action=edit
TGSI and byte code of the buggy shader

When running UE4Editor (4.17) on BARTS with -opengl3 and mesa (1e696b9) is
compiled in debug mode I get the following assertion failure on one shader
(attached), that then leads to UE4Editor shutting down: 

  error at : MUL_IEEE     R17.x.5F at R124.x,    R14.x.5F at R124.x, R90.x.22||F at R2.w
   : expected operand value R90.x.22||F at R2.w, gpr contains t39||FP at R2.w
  sb/sb_ra_checker.cpp:46:run: Assertion `sh.errors.empty()' failed.

Sometimes it happens right away, when loading the assets, sometimes I have to
load a specific level. I guess it depends on what assets are actually
displayed.  

If I disable the assertion then I can use UE4Editor (I still need to add a
patch to work around to a problem introduced by another shader that for some
bug in UE4 exceeds the limits of the GPRs, but this has nothing to do which
this assertion failure).

Best, 
Gert

-- 
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/20170824/573c549c/attachment.html>


More information about the dri-devel mailing list