layers: Fix swapchain extent check
authorCort <cdwfs@users.noreply.github.com>
Sat, 5 Aug 2017 23:32:14 +0000 (16:32 -0700)
committerCort <cdwfs@users.noreply.github.com>
Mon, 7 Aug 2017 17:11:36 +0000 (10:11 -0700)
commitc60de7051dad8ba591e3b4131902d2323f6fe41a
tree645f4af529eea1637f13b03f1394e07815981634
parentae55897d6c2dcd49c097e1b49ed168a877e6470f
layers: Fix swapchain extent check

This fixes a regression introduced -- by me :( -- in commit
583b0c41dfd0876d0481920f2e6d8d87433bc1d7. The swapchain's
imageExtent must always be within the surface's min/max extent,
regardless of the surface's current extent.
layers/core_validation.cpp