From: Kristian Høgsberg Kristensen Date: Mon, 25 Jan 2016 23:12:43 +0000 (-0800) Subject: anv: Remove stale assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76c096f0e71a0dab3be49ad4d56cec74e3296842;p=mesa.git anv: Remove stale assert This goes back to when we didn't have the subpass number in the command buffer begin info. --- diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index d2cbf87578a..50ecf000167 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -1108,8 +1108,6 @@ void anv_CmdExecuteCommands( assert(primary->level == VK_COMMAND_BUFFER_LEVEL_PRIMARY); - anv_assert(primary->state.subpass == &primary->state.pass->subpasses[0]); - for (uint32_t i = 0; i < commandBufferCount; i++) { ANV_FROM_HANDLE(anv_cmd_buffer, secondary, pCmdBuffers[i]);