summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/get-buffer-resource-handle-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/get-buffer-resource-handle-test.cpp')
-rw-r--r--tools/gfx-unit-test/get-buffer-resource-handle-test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/get-buffer-resource-handle-test.cpp b/tools/gfx-unit-test/get-buffer-resource-handle-test.cpp
index 35ad167f2..1b7aaa439 100644
--- a/tools/gfx-unit-test/get-buffer-resource-handle-test.cpp
+++ b/tools/gfx-unit-test/get-buffer-resource-handle-test.cpp
@@ -85,6 +85,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;
+ }
getBufferResourceHandleTestImpl(device, context);
}