layers: Make d/s CmdClearAttachments without d/s attachment warning
authorChris Forbes <chrisforbes@google.com>
Thu, 8 Sep 2016 03:35:36 +0000 (15:35 +1200)
committerChris Forbes <chrisforbes@google.com>
Fri, 9 Sep 2016 02:55:32 +0000 (14:55 +1200)
commit7386605ae0fe78241c997605a843bdc9a5499e2b
tree0bdc109989920f56e7a27b48914caa7d988fc50d
parentdd2e11f29131ab2a77ccb9ae0c4c5c3bcf95c1d5
layers: Make d/s CmdClearAttachments without d/s attachment warning

This is pointless, but well-defined. Rework warning message to not
reference the VkClearAttachment::colorAttachment, as it's only
meaningful for color clears.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp