Update VulkanMemoryAllocator to version3.1.0

This commit is contained in:
Wojtek Figat
2024-05-29 14:55:30 +02:00
parent 33d1c8c68c
commit 80fbe048bf
3 changed files with 12814 additions and 13411 deletions

View File

@@ -1,4 +1,4 @@
Copyright (c) 2017-2021 Advanced Micro Devices, Inc. All rights reserved. Copyright (c) 2017-2024 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

File diff suppressed because it is too large Load Diff

View File

@@ -1,40 +1,71 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="VmaRawList&lt;*&gt;"> <Type Name="VmaRawList&lt;*&gt;">
<DisplayString>{{ Count={m_Count} }}</DisplayString> <DisplayString>{{ Count={m_Count} }}</DisplayString>
<Expand> <Expand>
<Item Name="[Count]">m_Count</Item> <Item Name="[Count]">m_Count</Item>
<LinkedListItems> <LinkedListItems>
<Size>m_Count</Size> <Size>m_Count</Size>
<HeadPointer>m_pFront</HeadPointer> <HeadPointer>m_pFront</HeadPointer>
<NextPointer>pNext</NextPointer> <NextPointer>pNext</NextPointer>
<ValueNode>Value</ValueNode> <ValueNode>Value</ValueNode>
</LinkedListItems> </LinkedListItems>
</Expand> </Expand>
</Type> </Type>
<Type Name="VmaList&lt;*&gt;"> <Type Name="VmaList&lt;*&gt;">
<DisplayString>{{ Count={m_RawList.m_Count} }}</DisplayString> <DisplayString>{{ Count={m_RawList.m_Count} }}</DisplayString>
<Expand> <Expand>
<Item Name="[Count]">m_RawList.m_Count</Item> <Item Name="[Count]">m_RawList.m_Count</Item>
<LinkedListItems> <LinkedListItems>
<Size>m_RawList.m_Count</Size> <Size>m_RawList.m_Count</Size>
<HeadPointer>m_RawList.m_pFront</HeadPointer> <HeadPointer>m_RawList.m_pFront</HeadPointer>
<NextPointer>pNext</NextPointer> <NextPointer>pNext</NextPointer>
<ValueNode>Value</ValueNode> <ValueNode>Value</ValueNode>
</LinkedListItems> </LinkedListItems>
</Expand> </Expand>
</Type> </Type>
<Type Name="VmaVector&lt;*&gt;"> <Type Name="VmaVector&lt;*&gt;">
<DisplayString>{{ Count={m_Count} }}</DisplayString> <DisplayString>{{ Count={m_Count} }}</DisplayString>
<Expand> <Expand>
<Item Name="[Count]">m_Count</Item> <Item Name="[Count]">m_Count</Item>
<Item Name="[Capacity]">m_Capacity</Item> <Item Name="[Capacity]">m_Capacity</Item>
<ArrayItems> <ArrayItems>
<Size>m_Count</Size> <Size>m_Count</Size>
<ValuePointer>m_pArray</ValuePointer> <ValuePointer>m_pArray</ValuePointer>
</ArrayItems> </ArrayItems>
</Expand> </Expand>
</Type> </Type>
<!--
Due to custom way of accesing next items in
VmaIntrusiveLinkedList via methods in provided type traits,
every specialization must be manually added with
custom <NextPointer> field describing proper way of iterating the list.
-->
<Type Name="VmaIntrusiveLinkedList&lt;VmaDedicatedAllocationListItemTraits&gt;">
<DisplayString>{{ Count={m_Count} }}</DisplayString>
<Expand>
<Item Name="[Count]">m_Count</Item>
<LinkedListItems>
<Size>m_Count</Size>
<HeadPointer>m_Front</HeadPointer>
<NextPointer>m_DedicatedAllocation.m_Next</NextPointer>
<ValueNode>*this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="VmaIntrusiveLinkedList&lt;VmaPoolListItemTraits&gt;">
<DisplayString>{{ Count={m_Count} }}</DisplayString>
<Expand>
<Item Name="[Count]">m_Count</Item>
<LinkedListItems>
<Size>m_Count</Size>
<HeadPointer>m_Front</HeadPointer>
<NextPointer>m_NextPool</NextPointer>
<ValueNode>*this</ValueNode>
</LinkedListItems>
</Expand>
</Type>
</AutoVisualizer> </AutoVisualizer>