diff options
Diffstat (limited to 'tools/gfx-unit-test/get-texture-resource-handle-test.cpp')
| -rw-r--r-- | tools/gfx-unit-test/get-texture-resource-handle-test.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/get-texture-resource-handle-test.cpp b/tools/gfx-unit-test/get-texture-resource-handle-test.cpp index 4883a28bd..4677bd97b 100644 --- a/tools/gfx-unit-test/get-texture-resource-handle-test.cpp +++ b/tools/gfx-unit-test/get-texture-resource-handle-test.cpp @@ -33,6 +33,7 @@ namespace gfx_test { SLANG_CHECK(handle != NULL); } + #if SLANG_WINDOWS_FAMILY else { @@ -77,7 +78,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; + } getTextureResourceHandleTestImpl(device, context); } |
