diff options
| author | Yong He <yonghe@outlook.com> | 2021-10-20 07:18:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 10:18:03 -0400 |
| commit | 8406244e27c142ea56c7a934b09e0b1cdace6afd (patch) | |
| tree | 921e4bb9459b36cc66623e40612a75e3b3242924 /tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp | |
| parent | ba081c89a60d6207a6534c2ad256945490196661 (diff) | |
Re-enable swiftshader. (#1984)
Ignore some gfx unit tests when using swiftshader.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp')
| -rw-r--r-- | tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp b/tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp index 62a00c3c2..97cb9a808 100644 --- a/tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp +++ b/tools/gfx-unit-test/get-cmd-buffer-handle-test.cpp @@ -81,7 +81,12 @@ namespace gfx_test { SLANG_IGNORE_TEST; } - + // Ignore this test on swiftshader. Swiftshader seems to have a bug that causes the test + // to crash. + if (Slang::String(device->getDeviceInfo().adapterName).toLower().contains("swiftshader")) + { + SLANG_IGNORE_TEST; + } getBufferHandleTestImpl(device, context); } |
