diff options
| author | Tomáš Chlubna <ichlubna@fit.vutbr.cz> | 2025-06-16 11:49:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-16 09:49:35 +0000 |
| commit | 28d957327b113335167846a6501d548b07132da2 (patch) | |
| tree | 185a32f9766c6b523d07392a1dff6631ccee9dee | |
| parent | bb03daf205285f1e02e489f85cd17800bbe09a22 (diff) | |
Exposing TU-local entity with modules fix (#7449)
| -rw-r--r-- | include/slang.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/slang.h b/include/slang.h index b9fe732c0..ba247aadd 100644 --- a/include/slang.h +++ b/include/slang.h @@ -722,7 +722,7 @@ typedef uint32_t SlangSizeT; // This flag will be deprecated, use CompilerOption instead. SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY = 1 << 10, }; - constexpr static SlangTargetFlags kDefaultTargetFlags = + inline constexpr SlangTargetFlags kDefaultTargetFlags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY; /*! |
