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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 7 10:08:21 UTC 2018


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

            Bug ID: 107856
           Summary: i965 incorrectly calculates the number of layers for
                    texture views (assert)
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: joseph.kucia at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 141470
  --> https://bugs.freedesktop.org/attachment.cgi?id=141470&action=edit
Apitrace

get_image_num_layers() returns the number of layers for the original texture
instead of the number of layers for the texture view. It leads to asserts in
driver code:

../../../../../../mesa-git/src/mesa/drivers/dri/i965/intel_mipmap_tree.c:1940:
miptree_layer_range_length: Assertion `start_layer + num_layers <=
total_num_layers' failed.

-- 
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/20180907/f4161b4f/attachment.html>


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