aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-01-14 15:57:46 +1300
committerMark Lobodzinski <mark@lunarg.com>2016-01-14 10:08:54 -0700
commit1c1aba757a43058027dc7451d9628acadeea26fb (patch)
tree68e968d4d9953616ab122244aa1cc5476f8621e0 /layers/device_limits.cpp
parentdb31a54c64f14a89d64245ee4d3b31fdad82acf9 (diff)
downloadusermoji-1c1aba757a43058027dc7451d9628acadeea26fb.tar.xz
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.
Diffstat (limited to 'layers/device_limits.cpp')
0 files changed, 0 insertions, 0 deletions