layers: GH1141, Fix host-bit/PREINITIALIZED warning
authorqnope <antoine.morrier@telecom-sudparis.eu>
Thu, 10 Nov 2016 17:56:51 +0000 (18:56 +0100)
committerMark Lobodzinski <mark@lunarg.com>
Mon, 14 Nov 2016 22:13:38 +0000 (15:13 -0700)
commit34a26fdc3c68aafc37d21ef827b291877833b9b2
tree4f8f490fed1e84f8ceee44a0d531c2f3ef4851f1
parent5a1d518f54642134a9d13f057f8e407d57512a1b
layers: GH1141, Fix host-bit/PREINITIALIZED warning

Validation layers [core_validation] give a warning when transitioning
an image layout from PREINITIALIZED with srcAccessMask = 0. Since the
barrier should be done implicitly when the commandBuffer is submitted,
the message from the validation layers is incorrect.

Change-Id: I0ebc9f300b029237d4d3527e411d88f64c485ac4
layers/core_validation.cpp