cube: Workaround macOS cube issue
authorMike Schuchardt <mikes@lunarg.com>
Fri, 26 Jul 2019 14:56:30 +0000 (07:56 -0700)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Fri, 26 Jul 2019 16:24:37 +0000 (10:24 -0600)
commitaed62466ff5bb38ae39010888bc4859afbe1cf94
treee9ab692c5f741e01b3ce237255c264d776a8a1d0
parentaf4a7aec2deff253495b5e87c90ed07de44a6c3d
cube: Workaround macOS cube issue

Latest version of MoltenVK behaves in an apparently non-conformant way
by not allowing some linear images to be mapped to memory with
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT.  This change sidesteps the issue
by forcing the use of staging buffer for loading textures.
cube/cube.c
cube/cube.cpp