layers: PR1381, Fix vkCmdCopyImage intersection check
authorAlex Smith <asmith@feralinteractive.com>
Tue, 17 Jan 2017 11:13:23 +0000 (11:13 +0000)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 17 Jan 2017 15:03:23 +0000 (08:03 -0700)
commitdcfd0c25c7fff1c8ae231b234870027e913c08bf
tree0a23b0ca23802753cdfd46142b278a0543de38db
parentdce5be40a905089308e62a36f82a37c4fd245d6f
layers: PR1381, Fix vkCmdCopyImage intersection check

RegionIntersects would return true if the source and destination array
layers and mip level did *not* overlap, resulting in a spurious
validation error when trying to copy between different array layers or
mip levels of the same image.

Change-Id: I2e5675f703a4f5e2e7cbfd1d038bd38c7d7dafe0
layers/image.cpp