icd/api/vk_memory.cpp
VkResult Memory::GetCommitment(
    VkDeviceSize* pCommittedMemoryInBytes)
{
    VK_ASSERT(pCommittedMemoryInBytes != nullptr);

    // We never allocate memory lazily, so just return the size of the memory object
    *pCommittedMemoryInBytes = m_info.size;

    return VK_SUCCESS;
}
// =====================================================================================================================
// Returns the actual number of bytes that are currently committed to this memory object
Returns the actual number of bytes that are currently committed to this memory object
Returns the actual number of bytes that are currently committed to this memory object
VkResult Memory::GetCommitment(
    VkDeviceSize* pCommittedMemoryInBytes)
{
    VK_ASSERT(pCommittedMemoryInBytes != nullptr);
    *pCommittedMemoryInBytes = m_info.size;
    return VK_SUCCESS;
}
VkResult Memory :: GetCommitment ( VkDeviceSize * pCommittedMemoryInBytes ) { VK_ASSERT ( pCommittedMemoryInBytes != nullptr ) ; * pCommittedMemoryInBytes = m_info . size ; return VK_SUCCESS ; }
Returns the actual number of bytes that are currently committed to this memory object
Returns the actual number of bytes that are currently committed to this memory object
// We never allocate memory lazily, so just return the size of the memory object