mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 21:40:41 +00:00
Added Strinise for DXIL::ValueKind
This commit is contained in:
@@ -1748,3 +1748,4 @@ DECLARE_STRINGISE_TYPE(DXIL::Type::TypeKind);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Type::ScalarKind);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::LLVMDbgOp);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::DIBase::Type);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::ValueKind);
|
||||
|
||||
@@ -727,3 +727,21 @@ rdcstr DoStringise(const DXIL::DW_OP &el)
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
};
|
||||
|
||||
template <>
|
||||
rdcstr DoStringise(const DXIL::ValueKind &el)
|
||||
{
|
||||
BEGIN_ENUM_STRINGISE(DXIL::ValueKind);
|
||||
{
|
||||
STRINGISE_ENUM_CLASS(ForwardReferencePlaceholder);
|
||||
STRINGISE_ENUM_CLASS(Literal);
|
||||
STRINGISE_ENUM_CLASS(Alias);
|
||||
STRINGISE_ENUM_CLASS(Constant);
|
||||
STRINGISE_ENUM_CLASS(GlobalVar);
|
||||
STRINGISE_ENUM_CLASS(Metadata);
|
||||
STRINGISE_ENUM_CLASS(Instruction);
|
||||
STRINGISE_ENUM_CLASS(Function);
|
||||
STRINGISE_ENUM_CLASS(BasicBlock);
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user