54 lines
1.5 KiB
XML
54 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<!-- Automatically convert endianness for xe::be -->
|
|
<Type Name="xe::be<unsigned int>">
|
|
<DisplayString>
|
|
{(((value & 0xFF000000) >> 24) |
|
|
((value & 0x00FF0000) >> 8) |
|
|
((value & 0x0000FF00) << 8) |
|
|
((value & 0x000000FF) << 24))}
|
|
</DisplayString>
|
|
</Type>
|
|
<Type Name="xe::be<int>">
|
|
<DisplayString>
|
|
{(((value & 0xFF000000) >> 24) |
|
|
((value & 0x00FF0000) >> 8) |
|
|
((value & 0x0000FF00) << 8) |
|
|
((value & 0x000000FF) << 24))}
|
|
</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="xe::be<unsigned short>">
|
|
<DisplayString>
|
|
{(((value & 0xFF00) >> 8) |
|
|
((value & 0x00FF) << 8))}
|
|
</DisplayString>
|
|
</Type>
|
|
<Type Name="xe::be<short>">
|
|
<DisplayString>
|
|
{(((value & 0xFF00) >> 8) |
|
|
((value & 0x00FF) << 8))}
|
|
</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="xe::be<unsigned char>">
|
|
<DisplayString>
|
|
{value}
|
|
</DisplayString>
|
|
</Type>
|
|
<Type Name="xe::be<char>">
|
|
<DisplayString>
|
|
{value}
|
|
</DisplayString>
|
|
</Type>
|
|
|
|
<!-- Shims -->
|
|
|
|
<Type Name="xe::kernel::shim::TypedPointerParam<*>">
|
|
<DisplayString>{host_ptr_}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem>host_ptr_</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
</AutoVisualizer> |