VkMemoryHeap size


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1257
    rextimmy
    Participant

      Hey there Bill,

      I noticed doing this

      
      VkPhysicalDeviceMemoryProperties deviceMemory;
      vkGetPhysicalDeviceMemoryProperties(myDevice, &deviceMemory);
      //moltenvk has 1 heap (VK_MEMORY_HEAP_DEVICE_LOCAL_BIT flag) but reports a zero for the size
      VkDeviceSize size = deviceMemory.memoryHeaps[0].size;
      

      Is there anyway of getting this info out of metal, perhaps recommendedMaxWorkingSetSize? Sorry not much of a metal guru, not sure if there is another way of finding out the device memory size from metal?

      #1258
      Bill Hollings
      Keymaster

        @rextimmy

        MoltenVK does not currently use iOS Metal Heaps. They will be introduced in an upcoming release.

        …Bill

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘MoltenVK Support’ is closed to new topics and replies.