goldfish-opengl: nuke canFitVirtualHostVisibleMemoryInfo
- hostVisibleMemoryTypeCount is always zero, so unless
VK_MAX_MEMORY_TYPES - typeCount <= -1, check doesn't
make sense
- It's casted to uint32_t anyways, so it's always greater
than equal or greater than zero
- Unclear if the case where typeCount == VK_MAX_MEMORY_TYPES
|| heapCount == VK_MAX_MEMORY_HEAPS is ever hit (almost all
hardwart is within that limit) and if it is, not supporting
virtualization is unlikely the best option.
BUG=2105325
TEST=compile and run
Change-Id: Idf315b7c6652b4133abfabd2cb8da6d6725e3ebb
3 files changed