mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-24 21:10:11 +00:00
Improved NATVIS file - added support for IntrusiveLinkedList usage.
This commit is contained in:
parent
8188312fe7
commit
a389d16fcf
@ -24,4 +24,35 @@
|
|||||||
</LinkedListItems>
|
</LinkedListItems>
|
||||||
</Expand>
|
</Expand>
|
||||||
</Type>
|
</Type>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Due to custom way of accesing next items in
|
||||||
|
D3D12MA::IntrusiveLinkedList 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="D3D12MA::IntrusiveLinkedList<D3D12MA::CommittedAllocationListItemTraits>">
|
||||||
|
<DisplayString>{{ Count={m_Count} }}</DisplayString>
|
||||||
|
<Expand>
|
||||||
|
<Item Name="[Count]">m_Count</Item>
|
||||||
|
<LinkedListItems>
|
||||||
|
<Size>m_Count</Size>
|
||||||
|
<HeadPointer>m_Front</HeadPointer>
|
||||||
|
<NextPointer>m_Committed.next</NextPointer>
|
||||||
|
<ValueNode>*this</ValueNode>
|
||||||
|
</LinkedListItems>
|
||||||
|
</Expand>
|
||||||
|
</Type>
|
||||||
|
<Type Name="D3D12MA::IntrusiveLinkedList<D3D12MA::PoolListItemTraits>">
|
||||||
|
<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