diff options
| author | jarcherNV <jarcher@nvidia.com> | 2025-08-21 11:42:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-21 18:42:49 +0000 |
| commit | a5e6ddd006ecf72ad9a41961811e93e1e2f72e64 (patch) | |
| tree | 869beb336a44dc1e96876a8f63818c4754c740ac /source/slang-record-replay/util | |
| parent | 44815ba48c1d149137a2210ca3fccfe3bda2626e (diff) | |
Add record and replay support for IComponentType2 (#8215)
Add record and replay support for the IComponentType2 struct and its
functions getTargetCompileResult and getEntryPointCompileResult.
Diffstat (limited to 'source/slang-record-replay/util')
| -rw-r--r-- | source/slang-record-replay/util/record-format.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/slang-record-replay/util/record-format.h b/source/slang-record-replay/util/record-format.h index 99915c46f..5da7f7202 100644 --- a/source/slang-record-replay/util/record-format.h +++ b/source/slang-record-replay/util/record-format.h @@ -30,6 +30,7 @@ enum ApiClassId : uint16_t Class_IEntryPoint = 5, Class_ICompositeComponentType = 6, Class_ITypeConformance = 7, + Class_IComponentType2 = 8, Unknown = 0xFFFF }; @@ -57,6 +58,9 @@ enum IComponentTypeMethodId : uint16_t getEntryPointHostCallable = 0x0013, renameEntryPoint = 0x0014, linkWithOptions = 0x0015, + getTargetCompileResult = 0x0016, + getEntryPointCompileResult = 0x0017, + queryInterface = 0x0018, }; enum ApiCallId : uint32_t @@ -189,6 +193,8 @@ enum ApiCallId : uint32_t makeApiCallId(Class_ICompositeComponentType, IComponentTypeMethodId::renameEntryPoint), ICompositeComponentType_linkWithOptions = makeApiCallId(Class_ICompositeComponentType, IComponentTypeMethodId::linkWithOptions), + ICompositeComponentType_queryInterface = + makeApiCallId(Class_ICompositeComponentType, IComponentTypeMethodId::queryInterface), ITypeConformance_getSession = makeApiCallId(Class_ITypeConformance, IComponentTypeMethodId::getSession), @@ -213,6 +219,12 @@ enum ApiCallId : uint32_t makeApiCallId(Class_ITypeConformance, IComponentTypeMethodId::renameEntryPoint), ITypeConformance_linkWithOptions = makeApiCallId(Class_ITypeConformance, IComponentTypeMethodId::linkWithOptions), + + // IComponentType2 methods. + IComponentType2_getTargetCompileResult = + makeApiCallId(Class_IComponentType2, IComponentTypeMethodId::getTargetCompileResult), + IComponentType2_getEntryPointCompileResult = + makeApiCallId(Class_IComponentType2, IComponentTypeMethodId::getEntryPointCompileResult), }; struct FunctionHeader |
