aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-07-27 11:08:00 -0600
committerTobin Ehlis <tobine@google.com>2017-07-28 15:44:36 -0600
commitcb87452d5122186eaf86e9bcc43bd54f39259c1e (patch)
treea377627b16ce8a36157bf8d431cff4b2c5b002c7 /layers/buffer_validation.cpp
parent60c136895a6b03cba0aa9e08d2a66a03191f1f83 (diff)
downloadusermoji-cb87452d5122186eaf86e9bcc43bd54f39259c1e.tar.xz
layers:Delay barrier validation for secondary CB
When a secondary command buffer doesn't have a framebuffer, queue up any renderPass barrier validation until submit time when we know we'll have a framebuffer bound. Added a separate vector of validation functions that are added to secondary command buffer for this case and then executed at CmdExecuteCommands() time. Migrated the image validation that needs to be delayed to its own function. This makes it easy to add to the delayed function array and capture a copy of the image barrier that needs to be validated. In CmdExecuteCommands() when validation runs inherit the activeFB from the primaryCB into the secondary CB.
Diffstat (limited to 'layers/buffer_validation.cpp')
0 files changed, 0 insertions, 0 deletions