diff options
Diffstat (limited to 'source/compiler-core')
| -rw-r--r-- | source/compiler-core/slang-dxc-compiler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/compiler-core/slang-dxc-compiler.cpp b/source/compiler-core/slang-dxc-compiler.cpp index 9428d0d26..6956a3627 100644 --- a/source/compiler-core/slang-dxc-compiler.cpp +++ b/source/compiler-core/slang-dxc-compiler.cpp @@ -26,8 +26,12 @@ // Enable DXIL by default unless told not to #ifndef SLANG_ENABLE_DXIL_SUPPORT +#if SLANG_APPLE_FAMILY +# define SLANG_ENABLE_DXIL_SUPPORT 0 +#else # define SLANG_ENABLE_DXIL_SUPPORT 1 #endif +#endif // Enable calling through to `dxc` to // generate code on Windows. |
