mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Added stringise for DXIL::Type::TypeKind
This commit is contained in:
@@ -1673,3 +1673,4 @@ DECLARE_STRINGISE_TYPE(DXIL::InstructionFlags);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::AtomicBinOpCode);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Operation);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::DXOp);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Type::TypeKind);
|
||||
|
||||
@@ -491,3 +491,21 @@ rdcstr DoStringise(const DXIL::DXOp &el)
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
}
|
||||
|
||||
template <>
|
||||
rdcstr DoStringise(const DXIL::Type::TypeKind &el)
|
||||
{
|
||||
BEGIN_ENUM_STRINGISE(DXIL::Type::TypeKind);
|
||||
{
|
||||
STRINGISE_ENUM_CLASS(None);
|
||||
STRINGISE_ENUM_CLASS(Scalar);
|
||||
STRINGISE_ENUM_CLASS(Vector);
|
||||
STRINGISE_ENUM_CLASS(Pointer);
|
||||
STRINGISE_ENUM_CLASS(Array);
|
||||
STRINGISE_ENUM_CLASS(Function);
|
||||
STRINGISE_ENUM_CLASS(Struct);
|
||||
STRINGISE_ENUM_CLASS(Metadata);
|
||||
STRINGISE_ENUM_CLASS(Label);
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user