layers:Add subpass barrier self-dependency VUID
authorTobin Ehlis <tobine@google.com>
Thu, 13 Jul 2017 19:07:39 +0000 (13:07 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 17 Jul 2017 17:39:28 +0000 (11:39 -0600)
commit4fcab4830afb634a3e2e362276fcada1dcdce7a9
tree291c09cd1f16af41b9dd9f54bf0292eff307b7f6
parent3c6a553da534930e7222de38bfc6c62a2b6cc0c7
layers:Add subpass barrier self-dependency VUID

This is VALIDATION_ERROR_1b800928. Add the ID and slightly touch up the
error language. Also, this check should be general for any barrier
that's inserted for a renderPass so remove extra memBarrierCount
condition.
layers/core_validation.cpp