anv: Remove stale assert
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 25 Jan 2016 23:12:43 +0000 (15:12 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 25 Jan 2016 23:15:59 +0000 (15:15 -0800)
This goes back to when we didn't have the subpass number in the command
buffer begin info.

src/vulkan/anv_cmd_buffer.c

index d2cbf87578a744ef52827baddf988be6c2c382bb..50ecf0001677d563b61c1722093a045f7ce13e39 100644 (file)
@@ -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]);