mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Added DoStringise() for DXIL::Type::ScalarKind
This commit is contained in:
@@ -1696,3 +1696,4 @@ DECLARE_STRINGISE_TYPE(DXIL::AtomicBinOpCode);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Operation);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::DXOp);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Type::TypeKind);
|
||||
DECLARE_STRINGISE_TYPE(DXIL::Type::ScalarKind);
|
||||
|
||||
@@ -509,3 +509,15 @@ rdcstr DoStringise(const DXIL::Type::TypeKind &el)
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
}
|
||||
|
||||
template <>
|
||||
rdcstr DoStringise(const DXIL::Type::ScalarKind &el)
|
||||
{
|
||||
BEGIN_ENUM_STRINGISE(DXIL::Type::ScalarKind);
|
||||
{
|
||||
STRINGISE_ENUM_CLASS(Void);
|
||||
STRINGISE_ENUM_CLASS(Float);
|
||||
STRINGISE_ENUM_CLASS(Int);
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user