message: Check that memory allocation succeeded before mapping memory
  * This fixes a potential crash if we allocate memory then map it immediately
  without checking
diff: @@ -302,6 +302,12 @@ void *GPUBuffer::Map(uint32_t *bindoffset, VkDeviceSize usedsize)
  mapoffset = offset;
  + if(mem == VK_NULL_HANDLE)
  + {
  + RDCERR("Manually reporting failed memory map with no memory");
  + m_pDriver->CheckVkResult(VK_ERROR_MEMORY_MAP_FAILED);
  + }
  +
  void *ptr = NULL;
  VkResult vkr = m_pDriver->vkMapMemory(device, mem, offset, size, 0, (void **)&ptr);
  m_pDriver->CheckVkResult(vkr);
  