diff options
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3526,6 +3526,12 @@ namespace slang /** Get the time in seconds spent in the slang and downstream compiler. */ virtual SLANG_NO_THROW void SLANG_MCALL getCompilerElapsedTime(double* outTotalTime, double* outDownstreamTime) = 0; + + /** Specify a spirv.core.grammar.json file to load and use when + * parsing and checking any SPIR-V code + */ + virtual SLANG_NO_THROW SlangResult SLANG_MCALL setSPIRVCoreGrammar( + char const* jsonPath) = 0; }; #define SLANG_UUID_IGlobalSession IGlobalSession::getTypeGuid() |
