<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - vkResetCommandPool should not destroy the command buffers."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95034">95034</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>vkResetCommandPool should not destroy the command buffers.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>roniesalg@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123092" name="attach_123092" title="Bug workaround patch">attachment 123092</a> <a href="attachment.cgi?id=123092&action=edit" title="Bug workaround patch">[details]</a></span>
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:
<a href="https://github.com/ronsaldo/abstract-gpu">https://github.com/ronsaldo/abstract-gpu</a> 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>