diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/slang.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h index 0507d8099..27fa95986 100644 --- a/include/slang.h +++ b/include/slang.h @@ -1015,6 +1015,7 @@ typedef uint32_t SlangSizeT; SaveGLSLModuleBinSource, SkipDownstreamLinking, // bool, experimental + DumpModule, CountOf, }; @@ -4422,6 +4423,11 @@ struct IModule : public IComponentType virtual SLANG_NO_THROW char const* SLANG_MCALL getDependencyFilePath(SlangInt32 index) = 0; virtual SLANG_NO_THROW DeclReflection* SLANG_MCALL getModuleReflection() = 0; + + /** Disassemble a module. + */ + virtual SLANG_NO_THROW SlangResult SLANG_MCALL + disassemble(slang::IBlob** outDisassembledBlob) = 0; }; #define SLANG_UUID_IModule IModule::getTypeGuid() |
