Lines Matching defs:scope
130 AllocationCallbackRecord AllocationCallbackRecord::allocation (size_t size, size_t alignment, VkSystemAllocationScope scope, void* returnedPtr)
137 record.data.allocation.scope = scope;
143 AllocationCallbackRecord AllocationCallbackRecord::reallocation (void* original, size_t size, size_t alignment, VkSystemAllocationScope scope, void* returnedPtr)
151 record.data.reallocation.scope = scope;
167 AllocationCallbackRecord AllocationCallbackRecord::internalAllocation (size_t size, VkInternalAllocationType type, VkSystemAllocationScope scope)
174 record.data.internalAllocation.scope = scope;
179 AllocationCallbackRecord AllocationCallbackRecord::internalFree (size_t size, VkInternalAllocationType type, VkSystemAllocationScope scope)
186 record.data.internalAllocation.scope = scope;
375 // Validate scope
377 const VkSystemAllocationScope* const scopePtr = record.type == AllocationCallbackRecord::TYPE_ALLOCATION ? &record.data.allocation.scope
378 : record.type == AllocationCallbackRecord::TYPE_REALLOCATION ? &record.data.reallocation.scope
379 : record.type == AllocationCallbackRecord::TYPE_INTERNAL_ALLOCATION ? &record.data.internalAllocation.scope
380 : record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE ? &record.data.internalAllocation.scope
536 size_t* const totalAllocSizePtr = &results->internalAllocationTotal[record.data.internalAllocation.type][record.data.internalAllocation.scope];
598 const VkSystemAllocationScope scope = record.type == AllocationCallbackRecord::TYPE_ALLOCATION ? record.data.allocation.scope
599 : record.type == AllocationCallbackRecord::TYPE_REALLOCATION ? record.data.reallocation.scope
602 DE_ASSERT(de::inBounds(scope, (VkSystemAllocationScope)0, VK_SYSTEM_ALLOCATION_SCOPE_LAST));
604 if ((allowedLiveAllocScopeBits & (1u << scope)) == 0)
617 const VkSystemAllocationScope scope = (VkSystemAllocationScope)scopeNdx;
618 const size_t totalAllocated = results.internalAllocationTotal[type][scope];
624 << " bytes of (" << type << ", " << scope << ") internal memory is still allocated"
681 << ", scope=" << record.data.allocation.scope
689 << ", scope=" << record.data.reallocation.scope
702 << ", scope=" << record.data.internalAllocation.scope;
747 str << "Internal allocation total for (" << violation.record.data.internalAllocation.type << ", " << violation.record.data.internalAllocation.scope << ") is negative";
761 str << "Invalid allocation scope";