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)
This commit is contained in:
sanuk369
2026-11-22 10:17:08 +05:30
committed by ItsNotRexed
parent 817a5e9f5e
commit 3fc0b2107e

View File

@ -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)