mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-29 09:54:35 +00:00
Improved NATVIS file - added support for VmaIntrusiveLinkedList usage
This commit is contained in:
parent
7df5ecf6e2
commit
d3067c3620
@ -37,4 +37,35 @@
|
|||||||
</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<VmaDedicatedAllocationListItemTraits>">
|
||||||
|
<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<VmaPoolListItemTraits>">
|
||||||
|
<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>
|
Loading…
Reference in New Issue
Block a user