[Bug 95034] vkResetCommandPool should not destroy the command buffers.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 20 15:02:01 UTC 2016


            Bug ID: 95034
           Summary: vkResetCommandPool should not destroy the command
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: roniesalg at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 123092
  --> https://bugs.freedesktop.org/attachment.cgi?id=123092&action=edit
Bug workaround patch

According to the Vulkan spec and a FIXME comment present in
anv_ResetCommandPool (anv_cmd_buffer.c:~1100), vkResetCommandPool should not
destroy the command buffers referenced by the command.

The destruction of the command buffers breaks the samples of an open source
abstraction layer above Vulkan that I am making. The abstraction layer along
with the samples and build instructions are available at:
https://github.com/ronsaldo/abstract-gpu current master whose commit number is
04255a7a93812d94d1b8683b13f67558c7b76e54 .

The attached patch contains a quick workaround this problem that at least
prevent the samples from crashing. The patch should be checked for potential
memory leaks.

You are receiving this mail because:
You are the assignee for the bug.
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/20160420/9dc082d6/attachment.html>

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