layers: MR130, Handle VK_WHOLE_SIZE properly in mem_tracker:initializeAndTrackMemory
authorChris Forbes <chrisforbes@google.com>
Thu, 14 Jan 2016 02:57:46 +0000 (15:57 +1300)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 14 Jan 2016 17:08:54 +0000 (10:08 -0700)
commit1c1aba757a43058027dc7451d9628acadeea26fb
tree68e968d4d9953616ab122244aa1cc5476f8621e0
parentdb31a54c64f14a89d64245ee4d3b31fdad82acf9
layers: MR130, Handle VK_WHOLE_SIZE properly in mem_tracker:initializeAndTrackMemory

VK_WHOLE_SIZE is ~0ull. If this were passed as `size`, we'd try to allocate ~1ull
bytes, and then memset them all to 0xb. This tends to explode.
layers/mem_tracker.cpp