summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_cmd_buffer.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2016-01-25 15:12:43 -0800
committerKristian Høgsberg Kristensen <[email protected]>2016-01-25 15:15:59 -0800
commit76c096f0e71a0dab3be49ad4d56cec74e3296842 (patch)
tree3fdb7d548754a3c3903a201234036d698d2326f5 /src/vulkan/anv_cmd_buffer.c
parent2c94f659e8453bb584e1d50b188d4199fe7b8194 (diff)
anv: Remove stale assert
This goes back to when we didn't have the subpass number in the command buffer begin info.
Diffstat (limited to 'src/vulkan/anv_cmd_buffer.c')
-rw-r--r--src/vulkan/anv_cmd_buffer.c2
1 files changed, 0 insertions, 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]);