[Bug 98431] UnrealEngine v4 demos startup fails to blorp blit assert

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 27 21:49:03 UTC 2016


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

Jason Ekstrand <jason at jlekstrand.net> changed:

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

--- Comment #3 from Jason Ekstrand <jason at jlekstrand.net> ---
Fixed by the following commit:

commit 4964a5149b7776ce27aaeab2be0c2ebf41ded740
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Oct 25 22:47:21 2016 -0700

    intel/blorp: Fix a couple asserts around image copy rectangles

    With dealing with rectangles in compressed images, you can have a width or
    height that isn't a multiple of the corresponding compression block
    dimension but only if that edge of your rectangle is on the edge of the
    image.  When we call convert_to_single_slice, it creates an 2-D image and a
    set of tile offsets into that image.  When detecting the right-edge and
    bottom-edge cases, we weren't including the tile offsets so the assert
    would misfire.  This caused crashes in a few UE4 demos

    Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
    Reported-by: "Eero Tamminen" <eero.t.tamminen at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98431
    Cc: "13.0" <mesa-stable at lists.freedesktop.org>
    Tested-by: "Eero Tamminen" <eero.t.tamminen at intel.com>
    Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

-- 
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/20161027/9b066720/attachment.html>


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