layers:Handle ALL_*_BIT pipe stage barrier validation
authorTobin Ehlis <tobine@google.com>
Tue, 18 Jul 2017 17:22:08 +0000 (11:22 -0600)
committerTobin Ehlis <tobine@google.com>
Tue, 18 Jul 2017 20:08:38 +0000 (14:08 -0600)
commita54aea2a72be3bd84371773cc79a678816615587
treea669c02d584a7e3a68a88a3e2b456d3868556ac3
parent2aba41eaf7e52f8fdd29c3cf80cbbc4bcd473ee8
layers:Handle ALL_*_BIT pipe stage barrier validation

Update barrier validation to handle VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
and VK_PIPELINE_STAGE_ALL_COMMANDS_BIT cases in the subpass dependency.
Expand GFX bit as it's an alias for a fixed set of bits. If
ALL_COMMANDS is specified then skip validation because we know that
barrier mask must be a subset of subpass mask.
layers/core_validation.cpp