diff --git a/renderdoc/driver/shaders/dxil/dxil_bytecode.h b/renderdoc/driver/shaders/dxil/dxil_bytecode.h index a719e9aec..a33ebf640 100644 --- a/renderdoc/driver/shaders/dxil/dxil_bytecode.h +++ b/renderdoc/driver/shaders/dxil/dxil_bytecode.h @@ -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); diff --git a/renderdoc/driver/shaders/dxil/dxil_stringise.cpp b/renderdoc/driver/shaders/dxil/dxil_stringise.cpp index 046da2d11..c40e81a41 100644 --- a/renderdoc/driver/shaders/dxil/dxil_stringise.cpp +++ b/renderdoc/driver/shaders/dxil/dxil_stringise.cpp @@ -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(); +};