commit | 4c8381eb4ccab196a9b4bc3b3fe42cd23797e4d5 | [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 | 86a3d49d9c076f86e9dbde56eccb0d1958acdf64 | |
parent | 1d05a59f221f5af93f5c02ee24f8cac0533b3c7d [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.