commit | ac0ef843ff3016015ea5ba279de01da6a06c8579 | [log] [tgz] |
---|---|---|
author | Tobin Ehlis <tobine@google.com> | Mon Dec 14 13:46:38 2015 -0700 |
committer | Mark Lobodzinski <mark@lunarg.com> | Mon Dec 14 15:35:53 2015 -0700 |
tree | 5b020c8e3a597a540c2da9d691f6ba68b9fcdee6 | |
parent | a760a5170791fd6368c43cb6eef69c16988503b1 [diff] |
layers: Add DrawState checks for correct CmdBuffer reset Can only reset individual CmdBuffers if they are allocated from a pool that included the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT. Also need to intercept vkResetCommandPool() function and make sure that all individual CmdBuffers allocated from that pool are reset when called. Finally, updated naming of cmdBuffer states (RECORDING & RECORDED) to more closely match spec.