layers:Consolidate render pass compatibility
authorTobin Ehlis <tobine@google.com>
Wed, 6 Sep 2017 20:28:45 +0000 (14:28 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 7 Sep 2017 20:32:12 +0000 (14:32 -0600)
commitce6c8c47250df555b8b06a6b4666bf63fa5246a8
treea4ed3d66de9b89607b9a29dc7d07b08ec5844bc7
parent826819e74fce3dc553a141bf9fc05e88713d16c1
layers:Consolidate render pass compatibility

Remove duplicate render pass compatibility function and consolidate to
single function. Add error VUIDs for various draw-time errors related
to incompatible render passes and mis-matched subpass.
layers/core_validation.cpp
layers/core_validation_types.h
layers/vk_validation_error_database.txt