aboutsummaryrefslogtreecommitdiff
path: root/layers/unique_objects.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-11-28 15:02:29 -0700
committerTobin Ehlis <tobine@google.com>2017-12-01 15:04:14 -0700
commit058d399edd20a09a3f9b1ae39c374a244978ffdc (patch)
tree7263ecebdfbdb3df4eec36e3288d27e1529e7f18 /layers/unique_objects.cpp
parenta0d515350ac7d57c4ab546b52105e13bb251eb05 (diff)
downloadusermoji-058d399edd20a09a3f9b1ae39c374a244978ffdc.tar.xz
layers:Add secondary CB warning
Fixes #2237 If VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT is not set by a secondary command buffer, then any renderPass specified in the inheritance info will be ignored. Adding a warning if a non-NULL renderPass is included in the inheritance info but the VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT is not set. This is likely an oversight by the user and the current validation error that this case leads to (no active renderPass) doesn't directly point to the root cause.
Diffstat (limited to 'layers/unique_objects.cpp')
0 files changed, 0 insertions, 0 deletions