aboutsummaryrefslogtreecommitdiff
path: root/layers/parameter_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-16 11:23:01 -0600
committerTobin Ehlis <tobine@google.com>2016-05-18 09:06:23 -0600
commitfc39c5b846aecadfc7134ebeb8a26d4a16556f26 (patch)
treedf7bda17871bea7f25d894f6a4f5d5533c93fbea /layers/parameter_validation.cpp
parentbe8751322d1c4e175fa40cb8c1a23a65f3db3c4a (diff)
downloadusermoji-fc39c5b846aecadfc7134ebeb8a26d4a16556f26.tar.xz
layers: GH544 Allow INVALID cmd buffers to be reset
BeginCommandBuffer performs an implicit reset of a command buffer. This allows command buffers in the INVALID state to undergo this implicit reset. In order to make sure that an invalid command buffer in the INVALID state has had EndCommandBuffer called, this commit adds a CMD_END command that's inserted at the end of a command. If a command buffer in the INVALID state has had EndCommandBuffer called and it is now having BeginCommandBuffer called, it's ok to implicitly reset the command buffer. buffer's vector of commands.
Diffstat (limited to 'layers/parameter_validation.cpp')
0 files changed, 0 insertions, 0 deletions