layers:Pass framebuffer into barrier lambda
authorTobin Ehlis <tobine@google.com>
Fri, 28 Jul 2017 17:56:04 +0000 (11:56 -0600)
committerTobin Ehlis <tobine@google.com>
Fri, 28 Jul 2017 21:44:36 +0000 (15:44 -0600)
commitf21ecae0aea0ec77d6d66b37b2727cc2638a996b
tree8b3ca9bae10694b1e5364a143da323aa63b01534
parentcb87452d5122186eaf86e9bcc43bd54f39259c1e
layers:Pass framebuffer into barrier lambda

Pass framebuffer into image barrier validation lambda so that secondary
CB state doesn't have to be updated in CmdExecuteCommands. Just pass in
framebuffer from primary CB instead.

Update secondary CB lambda container name to reflect the fact that those
functions are executed at CmdExecuteCommands() time.
layers/core_validation.cpp
layers/core_validation_types.h