tests: Fix unexpected errors in InvalidMemoryAliasing
authorTobin Ehlis <tobine@google.com>
Thu, 22 Sep 2016 00:32:11 +0000 (18:32 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 22 Sep 2016 13:55:28 +0000 (07:55 -0600)
commit925eb4d60b03e3f89a91a290bb5bfb16cc427b24
treeae65f1ae2fdc3a89d21bb048458f5eb78bea3519
parent9b20bd8d9af9988f5026fc63cf596d654b74efa0
tests: Fix unexpected errors in InvalidMemoryAliasing

Memory bindings are immutable so create a separate image2 to bind
to the second memory allocation instead of re-binding same image.
tests/layer_validation_tests.cpp