[Bug 107856] i965 incorrectly calculates the number of layers for texture views (assert)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 16 09:24:43 UTC 2018


Danylo <danylo.piliaiev at gmail.com> changed:

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

--- Comment #2 from Danylo <danylo.piliaiev at gmail.com> ---
commit f9fd0cf4790cb2a530e75d1a2206dbb9d8af7cb2
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date:   Thu Nov 15 12:03:31 2018 +0200

    i965: Fix calculation of layers array length for isl_view

    Handle all cases in calculation of layers count for isl_view
    taking into account texture view and image unit.
    st_convert_image was taken as a reference.

    When u->Layered is true the whole level is taken with respect to
    image view. In other case only one layer is taken.

    v3: (Józef Kucia and Ilia Mirkin)
        - Rewrote patch by taking st_convert_image as a reference
        - Removed now unused get_image_num_layers function
        - Changed commit message

    v4: (Jason Ekstrand)
        - Added assert

    Fixes: 5a8c8903
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107856

    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

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

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