From 7d4142e6aca5257602a7d82db5625adbb6fbc832 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Tue, 7 Jan 2025 12:51:51 +0200 Subject: Fix some robustness issues in the examples (#5984) * examples: Make hello-world example exit gracefully if VK cannot be initialized - Check if VK API function pointers are valid before using them - Return 0 and exit if VK initialization fails - Enable hello-world example * examples: Fixes for ray-tracing examples - Assert that accelleration structure buffer is not nullptr - Check if buffer creation succeeded before proceeding - This makes initialization not hang, but it still fails. Therefore, the test expectations are just updated to point to another issue. - Enable ray-tracing tests on Windows --- tests/expected-example-failure-github.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/expected-example-failure-github.txt') diff --git a/tests/expected-example-failure-github.txt b/tests/expected-example-failure-github.txt index ee3ad2fa1..7801ee564 100644 --- a/tests/expected-example-failure-github.txt +++ b/tests/expected-example-failure-github.txt @@ -11,6 +11,5 @@ macos:aarch64:(debug|release):hello-world # See issue 5520 macos:aarch64:(debug|release):model-viewer # See issue 5520 macos:aarch64:(debug|release):ray-tracing # See issue 5520 macos:aarch64:(debug|release):ray-tracing-pipeline # See issue 5520 -windows:x86_64:debug:hello-world # See issue 5520 -windows:x86_64:debug:ray-tracing # See issue 5520 -windows:x86_64:debug:ray-tracing-pipeline # See issue 5520 +windows:x86_64:debug:ray-tracing # See issue 5988 +windows:x86_64:debug:ray-tracing-pipeline # See issue 5988 -- cgit v1.2.3