diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-03-05 17:36:05 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-03-05 17:37:07 +0300 |
commit | 2f48b824930d4d8adf0337eb186202fa81ad485a (patch) | |
tree | e55a86e0b525d8f9b9383e7f994cde80bf37528c | |
parent | 598afec8ea591545f9d4878abf914702a16d459c (diff) |
vkd3d: Fix DXIL check in test_coverage.test-coverage-fix
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
-rw-r--r-- | tests/d3d12.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/d3d12.c b/tests/d3d12.c index f1e0122c..92f33ca7 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -33736,6 +33736,13 @@ static void test_coverage(bool use_dxil) desc.no_root_signature = true; if (!init_test_context(&context, &desc)) return; + + if (use_dxil && !context_supports_dxil(&context)) + { + destroy_test_context(&context); + return; + } + command_list = context.list; queue = context.queue; |