[Mesa-dev] [Bug 106479] NDEBUG not defined for libamdgpu_addrlib

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 11 18:41:38 UTC 2018


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

            Bug ID: 106479
           Summary: NDEBUG not defined for libamdgpu_addrlib
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: valentin.david at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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

I got crashes with Vulkan applications using Unity and SteamVR. Among them the
SteamVR room setup.

Here is the assertion that breaks.

../../../src/amd/addrlib/core/addrlib2.h:732: VOID
Addr::V2::Lib::VerifyMipLevelInfo(const ADDR2_COMPUTE_SURFACE_INFO_INPUT*)
const: Assertion `actualMipLevels >= pIn->numMipLevels' failed.

And this breaks even when disabling debug. I suppose the was an oversight when
writing the Makefile.

The provided patch solves my issue.

-- 
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/mesa-dev/attachments/20180511/36e79d24/attachment.html>


More information about the mesa-dev mailing list