| 11060 | } |
| 11061 | |
| 11062 | VmaPool VmaAllocation_T::GetParentPool() const |
| 11063 | { |
| 11064 | switch (m_Type) |
| 11065 | { |
| 11066 | case ALLOCATION_TYPE_BLOCK: |
| 11067 | return m_BlockAllocation.m_Block->GetParentPool(); |
| 11068 | case ALLOCATION_TYPE_DEDICATED: |
| 11069 | return m_DedicatedAllocation.m_hParentPool; |
| 11070 | default: |
| 11071 | VMA_ASSERT(0); |
| 11072 | return VK_NULL_HANDLE; |
| 11073 | } |
| 11074 | } |
| 11075 | |
| 11076 | VkDeviceMemory VmaAllocation_T::GetMemory() const |
| 11077 | { |
no outgoing calls
no test coverage detected