commit | d7621bba239bf09211f26d08f751d98923c38d91 | [log] [tgz] |
---|---|---|
author | Michael Lentine <mlentine@google.com> | Wed Feb 03 10:55:23 2016 -0600 |
committer | Tobin Ehlis <tobine@google.com> | Thu Feb 04 12:20:17 2016 -0700 |
tree | 4308127a0be7c236d99954c854381fa68b125494 | |
parent | c7cf918c64bba3996ab34d55ed38a643bfabdf75 [diff] |
layers: Validate secondary command buffers are most recently bound. Secondary cmd buffer bound to new primary cmd buffer cannot be submitted under the first primary cmd buffer. This is based on spec valid usage restriction in vkQueueSubmit: Any given element of pCommandBuffers must not contain commands that execute a secondary command buffer, if that secondary command buffer has been recorded in another primary command buffer after it was recorded into this VkCommandBuffer