From 3fc0b2107eb1341d2e39b41bfa66cf018787ec50 Mon Sep 17 00:00:00 2001 From: sanuk369 <224479491+quackottu@users.noreply.github.com> Date: Sun, 22 Nov 2026 10:17:08 +0530 Subject: [PATCH] Tests: leave d3d12_clear out of ctest until #521 lands It fails on NVIDIA on the tie rounding #521 fixes (kapitche's RTX 4080 SUPER run and mine), which would turn ctest red there in the meantime. The test still exits 77 without a GPU, ready to register. (cherry picked from commit f2e3bfea672331b9bf5c192f398b6dfe3f1c92b9) --- runtime/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 239c3d954..874dd4a3e 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -735,8 +735,7 @@ if(TARGET Vulkan::Headers) target_link_libraries(d3d12_clear_test PRIVATE gta6rt_d3d12_com d3d12 dxgi) target_compile_definitions(d3d12_clear_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX) target_compile_options(d3d12_clear_test PRIVATE /W4 /permissive- /utf-8) - add_test(NAME d3d12_clear COMMAND d3d12_clear_test) - set_tests_properties(d3d12_clear PROPERTIES SKIP_RETURN_CODE 77) + # Not in ctest yet: on NVIDIA it fails on the 0.5 tie rounding #521 fixes; register it once that lands. # Synthetic typed-view readbacks against Windows WARP; run explicitly on a Vulkan GPU. add_executable(d3d12_typeless_rtv_test test/d3d12_typeless_rtv_test.cpp)