mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 16:30:23 +01:00
nvk: implicitly reset the command buffer
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
eae2eac3cf
commit
1f8682a1e7
1 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,8 @@ nvk_BeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBegin
|
|||
{
|
||||
VK_FROM_HANDLE(nvk_cmd_buffer, cmd, commandBuffer);
|
||||
|
||||
nvk_reset_cmd_buffer(cmd);
|
||||
|
||||
if (pBeginInfo->flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT)
|
||||
cmd->reset_on_submit = true;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue