代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="spvgentwo::Operand">
<DisplayString Condition="type == spvgentwo::Operand::Type::Instruction && instruction != 0">{{ instr={*instruction} }}</DisplayString>
<DisplayString Condition="type == spvgentwo::Operand::Type::Instruction && instruction == 0">{{ instr={instruction} }}</DisplayString>
<DisplayString Condition="type == spvgentwo::Operand::Type::BranchTarget && branchTarget != 0">{{ label={*branchTarget} }}</DisplayString>
<DisplayString Condition="type == spvgentwo::Operand::Type::BranchTarget && branchTarget == 0">{{ label={branchTarget} }}</DisplayString>
<DisplayString Condition="type == spvgentwo::Operand::Type::Literal">{{ literal={literal.value} }}</DisplayString>
<DisplayString Condition="type == spvgentwo::Operand::Type::Id">{{ ID={id} }}</DisplayString>
</Type>
<Type Name="spvgentwo::Type">
<DisplayString>{m_Type}</DisplayString>
<Expand>
<Item Name="[length]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeArray">m_ArrayLength</Item>
<Item Name="[format]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgFormat</Item>
<Item Name="[dimension]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgDimension</Item>
<Item Name="[depth]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgDepth</Item>
<Item Name="[array]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgArray</Item>
<Item Name="[multisampled]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgMultiSampled</Item>
<Item Name="[sampleraccess]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_ImgSamplerAccess</Item>
<Item Name="[accessqualifier]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeImage">m_AccessQualifier</Item>
<Item Name="[components]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeVector">m_VecComponentCount</Item>
<Item Name="[columns]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeMatrix">m_VecComponentCount</Item>
<Item Name="[rows]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeMatrix">m_subTypes.m_pBegin->m_data.m_VecComponentCount</Item>
<Item Name="[IntWidth]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeInt">m_IntWidth</Item>
<Item Name="[IntSign]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeInt">m_IntSign</Item>
<Item Name="[FloatWidth]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypeFloat">m_FloatWidth</Item>
<Item Name="[storageclass]" ExcludeView="simple" Condition="m_Type == spvgentwo::spv::Op::OpTypePointer || m_Type == spvgentwo::spv::Op::OpTypeForwardPointer">m_subTypes</Item>
<Item Name="[subtypes]" ExcludeView="simple" Condition="m_subTypes.m_Elements != 0">m_subTypes</Item>
</Expand>
</Type>
<Type Name="spvgentwo::Constant">
<DisplayString Condition="m_Type.m_Type == spvgentwo::spv::Op::OpTypeInt">{{ {m_Operation} value={*(int*)m_literalData.m_pData} type={m_Type} }}</DisplayString>
<DisplayString Condition="m_Type.m_Type == spvgentwo::spv::Op::OpTypeFloat">{{ {m_Operation} value={*(float*)m_literalData.m_pData} type={m_Type} }}</DisplayString>
<DisplayString Condition="m_Type.m_Type == spvgentwo::spv::Op::OpTypeBool">{{ {m_Operation} value={*(bool*)m_literalData.m_pData} type={m_Type} }}</DisplayString>
<DisplayString >{{ {m_Operation} {m_Type} }}</DisplayString>
</Type>
<Type Name="spvgentwo::List<*>" Inheritable="false">
<DisplayString>{{ size={m_Elements} }}</DisplayString>
<Expand>
<Item Name="[allocator]" ExcludeView="simple">m_pAllocator</Item>
<LinkedListItems>
<Size>m_Elements</Size>
<HeadPointer>m_pBegin</HeadPointer>
<NextPointer>m_pNext</NextPointer>
<ValueNode>m_data</ValueNode>
</LinkedListItems>
</Expand>
</Type>
<Type Name="spvgentwo::Vector<*>" Inheritable="false">
<DisplayString>{{ size={m_elements} }}</DisplayString>
<Expand>
<Item Name="[size]" ExcludeView="simple">m_elements</Item>
<Item Name="[capacity]" ExcludeView="simple">m_capacity</Item>
<ArrayItems>
<Size>m_capacity</Size>
<ValuePointer>m_pData</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="spvgentwo::HashMap<*>" Inheritable="false">
<DisplayString>{{ elements={m_Elements} }}</DisplayString>
<Expand>
<Item Name="[elements]" ExcludeView="simple">m_Elements</Item>
<Item Name="[buckets]" ExcludeView="simple">m_Buckets</Item>
<ArrayItems>
<Size>m_Buckets</Size>
<ValuePointer>m_pBuckets</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="spvgentwo::String">
<DisplayString Condition="m_pData != 0">{{ [{m_elements}] {m_pData} }}</DisplayString>
<DisplayString Condition="m_pData == 0">empty</DisplayString>
<Expand>
<Item Name="[string]">m_pData</Item>
<Item Name="[size]" ExcludeView="simple">m_elements</Item>
<Item Name="[capacity]" ExcludeView="simple">m_capacity</Item>
<ArrayItems>
<Size>m_capacity</Size>
<ValuePointer>m_pData</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="spvgentwo::EntryIterator<*>" Inheritable="false">
<DisplayString Condition="m_pEntry != 0">{{ [{(void*)m_pEntry}]={m_pEntry->m_data} }}</DisplayString>
<DisplayString Condition="m_pEntry == 0">empty</DisplayString>
<Expand>
<Item Name="[data]" ExcludeView="simple" Condition="m_pEntry != 0">m_pEntry->m_data</Item>
<Item Name="[prev]" ExcludeView="simple" Condition="m_pEntry != 0">m_pEntry->m_pPrev</Item>
<Item Name="[next]" ExcludeView="simple" Condition="m_pEntry != 0">m_pEntry->m_pNext</Item>
</Expand>
</Type>
</AutoVisualizer>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。