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)
commit3fe1dd8b0cf3a420d01af3a5bc6d4c94a10f4c0b
tree20a15697e09354a1a36015bce17544ddf1afd809
parent045efe91ea32ecf24bad4842fe0aac46dd3a5483
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