From 76c096f0e71a0dab3be49ad4d56cec74e3296842 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Mon, 25 Jan 2016 15:12:43 -0800 Subject: [PATCH] anv: Remove stale assert This goes back to when we didn't have the subpass number in the command buffer begin info. --- src/vulkan/anv_cmd_buffer.c | 2 -- 1 file changed, 2 deletions(-) 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]); -- 2.30.2