summaryrefslogtreecommitdiffstats
path: root/slang.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-04-29 08:28:40 +0800
committerGitHub <noreply@github.com>2023-04-29 08:28:40 +0800
commit5df7ada451a993efff2b80bb1af2d8c7579ba00b (patch)
treed28dc6704e4f12ec68a1e9a32f6a1ee439888387 /slang.h
parent2492ec59fb52c15d1658ab32f473521b40664168 (diff)
Minor tidyings around d3d usage (#2854)
* Remove unused COM annotation * Move SLANG_ENABLE_DXBC_SUPPORT to slang.h * Add DX11 simple compute test * Remove unnecessary COM parameter annotation * Run compute smoke test for DX12 * Ignore d3d11 tests when we do not have fxc * Do not try to find NVAPI on Linux * Add some logs to .gitignore * Minor cleanups in d3d12 headers * Fix tautological comparison (due to integer overflow) * Limit OutputDebugStringA to Windows
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/slang.h b/slang.h
index 1fcad0d83..31a98481a 100644
--- a/slang.h
+++ b/slang.h
@@ -170,21 +170,21 @@ Any platforms not detected by the above logic are now now explicitly zeroed out.
#if SLANG_WINDOWS_FAMILY
# define SLANG_ENABLE_DIRECTX 1
# define SLANG_ENABLE_DXGI_DEBUG 1
-# define SLANG_ENABLE_FXC 1
+# define SLANG_ENABLE_DXBC_SUPPORT 1
# define SLANG_ENABLE_PIX 1
# define SLANG_ENABLE_DXVK 0
# define SLANG_ENABLE_VKD3D_PROTON 0
#elif SLANG_LINUX_FAMILY
# define SLANG_ENABLE_DIRECTX 0
# define SLANG_ENABLE_DXGI_DEBUG 0
-# define SLANG_ENABLE_FXC 0
+# define SLANG_ENABLE_DXBC_SUPPORT 0
# define SLANG_ENABLE_PIX 0
# define SLANG_ENABLE_DXVK 1
# define SLANG_ENABLE_VKD3D_PROTON 1
#else
# define SLANG_ENABLE_DIRECTX 0
# define SLANG_ENABLE_DXGI_DEBUG 0
-# define SLANG_ENABLE_FXC 0
+# define SLANG_ENABLE_DXBC_SUPPORT 0
# define SLANG_ENABLE_PIX 0
# define SLANG_ENABLE_DXVK 0
# define SLANG_ENABLE_VKD3D_PROTON 0