test(render): cover P2 temporal visibility edge cases

This commit is contained in:
Emil
2026-09-23 22:46:20 +03:00
parent 43afcd6bfb
commit 94f7593e55
3 changed files with 214 additions and 8 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ if(BUILD_TESTING AND TARGET faset_render)
add_executable(faset_render_gpu_acceptance_tests
"${PROJECT_SOURCE_DIR}/tests/render_gpu_acceptance_tests.cpp")
target_link_libraries(faset_render_gpu_acceptance_tests PRIVATE faset_render)
foreach(FASET_VISIBILITY_CASE empty capacity dense door shadow cut resize lod)
foreach(FASET_VISIBILITY_CASE empty capacity dense door shadow cut resize lod
teleport near lifecycle views projection open_sequence transparent)
add_test(NAME "render_gpu_${FASET_VISIBILITY_CASE}"
COMMAND faset_render_gpu_acceptance_tests --case "${FASET_VISIBILITY_CASE}")
set_tests_properties("render_gpu_${FASET_VISIBILITY_CASE}"