Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
test: keep the AMD fixture and lifecycle check valid after the merges
Veyra Goal Agent18430bc1d6ec
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 9907a629..4982b368 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -995,8 +995,15 @@ if(VEYRA_FFMPEG_ROOT AND EXISTS "${VEYRA_FFMPEG_ROOT}/include/libavformat/avform# on the actual test adapter. Production graph and hardware policy are unchanged.set(VEYRA_AMD_NR_TEST_GRAPH_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/src/pipeline/EnhanceGraph.cpp" CACHE FILEPATH "Graph snapshot for AMD identity regression only")file(READ "${VEYRA_AMD_NR_TEST_GRAPH_SOURCE}" _amd_nr_graph)- string(REPLACE "ring_.queue(),context_.adapter().vendorId,instance->model.performance) || !instance->amd->admits"- "ring_.queue(),0x1002 /* identity fixture only */,instance->model.performance) || !instance->amd->admits" _amd_nr_graph "${_amd_nr_graph}")+ # A pattern that stops matching must stop the build: the fixture then runs on+ # the real adapter, and every AMD case fails with "requires an AMD adapter".+ set(_amd_nr_open "ring_.queue(),context_.adapter().vendorId,instance->model.performance))return false;")+ string(FIND "${_amd_nr_graph}" "${_amd_nr_open}" _amd_nr_open_at)+ if(_amd_nr_open_at EQUAL -1)+ message(FATAL_ERROR "AMD NR identity fixture: the backend open call in EnhanceGraph.cpp changed; update this pattern")+ endif()+ string(REPLACE "${_amd_nr_open}"+ "ring_.queue(),0x1002 /* identity fixture only */,instance->model.performance))return false;" _amd_nr_graph "${_amd_nr_graph}")file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/amd-nr-graph-test")file(WRITE "${CMAKE_BINARY_DIR}/amd-nr-graph-test/EnhanceGraph.cpp" "${_amd_nr_graph}")set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${VEYRA_AMD_NR_TEST_GRAPH_SOURCE}")diff --git a/tests/integration/PresentationPacingTests.cpp b/tests/integration/PresentationPacingTests.cppindex 30a58631..5d8d4eb6 100644--- a/tests/integration/PresentationPacingTests.cpp+++ b/tests/integration/PresentationPacingTests.cpp@@ -149,7 +149,7 @@ int wmain(int argc,wchar_t** argv){p.enabled=false;engine.requestPresentation(p);check(wait([](auto& s){return !s.presentationEffective.enabled;}),"disable while paused");engine.seek(5);auto seek=engine.snapshot().seekRequested;check(wait([&](auto& s){return s.seekPresented>=seek;}),"paused seek");engine.pause(false);check(wait([](auto& s){return s.position>5.3;}),"resume");- for(unsigned i=0;i<3;++i){const auto revision=engine.snapshot().presentationRevision;p={true,PacingMode(i),DisplaySync(i)};engine.requestPresentation(p);check(wait([&](auto& s){return s.presentationRevision>revision&&s.presentation==p&&s.presentationEffective.enabled&&s.presentationEffective.mode==(i==2&&multiplier>1?PacingMode::LowQueue:PacingMode(i))&&s.presentationEffective.display==DisplaySync(i);}),"live mode change applied");}+ for(unsigned i=0;i<3;++i){const auto revision=engine.snapshot().presentationRevision;p={true,PacingMode(i),DisplaySync(i)};engine.requestPresentation(p);check(wait([&](auto& s){return s.presentationRevision>revision&&s.presentation==p&&s.presentationEffective.enabled&&s.presentationEffective.mode==PacingMode(i)&&s.presentationEffective.display==DisplaySync(i);}),"live mode change applied");}SetWindowPos(window,nullptr,30,30,960,600,SWP_NOZORDER);p.enabled=false;engine.requestPresentation(p);check(wait([](auto& s){return !s.presentationEffective.enabled;}),"off after resize");const auto before=engine.snapshot().frames;check(wait([&](auto& s){return s.frames>before+10;}),"off keeps playing");}