forked from KhronosGroup/SPIRV-Cross
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Natvis file with debug information for VectorView and SmallVector.
- Loading branch information
1 parent
37fee00
commit 9969e02
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | ||
<Type Name="spirv_cross::VectorView<*,*>" Inheritable="false"> | ||
<DisplayString>{{size = {buffer_size}}}</DisplayString> | ||
<Expand> | ||
<Item Name="[size]" ExcludeView="simple">buffer_size</Item> | ||
<ArrayItems> | ||
<Size>buffer_size</Size> | ||
<ValuePointer Condition="ptr != 0">ptr</ValuePointer> | ||
</ArrayItems> | ||
</Expand> | ||
</Type> | ||
<Type Name="spirv_cross::SmallVector<*,*>" Inheritable="false"> | ||
<DisplayString>{{size = {buffer_size}}}</DisplayString> | ||
<Expand> | ||
<Item Name="[size]" ExcludeView="simple">buffer_size</Item> | ||
<ArrayItems> | ||
<Size>buffer_size</Size> | ||
<ValuePointer Condition="ptr != 0">ptr</ValuePointer> | ||
</ArrayItems> | ||
</Expand> | ||
</Type> | ||
</AutoVisualizer> |