OSDN Git Service

vkinfo: Fix bytes -> megabytes conversion
authorJesse Hall <jessehall@google.com>
Tue, 9 Feb 2016 05:20:20 +0000 (21:20 -0800)
committerJesse Hall <jessehall@google.com>
Tue, 9 Feb 2016 05:20:20 +0000 (21:20 -0800)
commit00f10fec7d5cb96bc980a6d272dc8d33597a1b20
tree7a47fafbf972232b53f494472d63cbbc7b210f9a
parentc5cec281654c5dee2273ce4bebd3a749c3a1119e
vkinfo: Fix bytes -> megabytes conversion

Also only report 256 MiB (chosen arbitrarily) as the null driver's
memory heap size. The previous value wasn't reasonable on 64-bit
systems (2^63 + 1).

Change-Id: Id57a4895752af45d046072ae8fee386ca219e82d
vulkan/nulldrv/null_driver.cpp
vulkan/tools/vkinfo.cpp