VkMemoryHeap size

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Hollings 1 year, 6 months ago.

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


    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?


    Bill Hollings


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


Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘MoltenVK Support’ is closed to new topics and replies.