v3dv: drop incorrect assertion
This was intended to check that we only got VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT on secondary command buffers, but the spec states that this flag should be ignored for primary command buffers. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
committed by
Marge Bot
parent
26bfbf29c2
commit
518714ae1d
@@ -629,9 +629,6 @@ v3dv_BeginCommandBuffer(VkCommandBuffer commandBuffer,
|
||||
{
|
||||
V3DV_FROM_HANDLE(v3dv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
|
||||
assert(cmd_buffer->level == VK_COMMAND_BUFFER_LEVEL_SECONDARY ||
|
||||
!(cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT));
|
||||
|
||||
/* If this is the first vkBeginCommandBuffer, we must initialize the
|
||||
* command buffer's state. Otherwise, we must reset its state. In both
|
||||
* cases we reset it.
|
||||
|
||||
Reference in New Issue
Block a user