diff options
| author | Yong He <yonghe@outlook.com> | 2022-10-11 21:41:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-11 21:41:28 -0700 |
| commit | 8c43a19d2fd8f9d1bd9d5854a4b1e64d5231bc41 (patch) | |
| tree | 5fdb5800109f5e73025b6eeb4b5d3f6ca7d838fd | |
| parent | 768e62f6c7541439e2edc18dad5fb3846d2e05f9 (diff) | |
Ignore d3d12 tests on x86. (#2439)
| -rw-r--r-- | tools/slang-test/slang-test-main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp index 8a8686a6b..59c16c88b 100644 --- a/tools/slang-test/slang-test-main.cpp +++ b/tools/slang-test/slang-test-main.cpp @@ -3972,6 +3972,11 @@ static void _disableCPPBackends(TestContext* context) } } +static void _disableD3D12Backend(TestContext* context) +{ + context->options.enabledApis &= ~(RenderApiFlag::D3D12); +} + static TestResult _asTestResult(ToolReturnCode retCode) { switch (retCode) @@ -4211,6 +4216,11 @@ SlangResult innerMain(int argc, char** argv) #endif } +#if SLANG_PROCESSOR_X86 + // Disable d3d12 tests on x86 right now since dxc for 32-bit windows doesn't seem to recognize sm_6_6. + _disableD3D12Backend(&context); +#endif + if (options.subCommand.getLength()) { // Get the function from the tool |
