From c95fd1dbe160cbff815c278219b5d37b395a7645 Mon Sep 17 00:00:00 2001 From: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:52:26 -0500 Subject: [PATCH] test: front-end D3D12 network_split cases expect the model token The front end appends the model the create runs (;model=) to the runtime options since the 0.6.5 model choice. The network_split test folder has no state folder and its runtime_options name no model, so the expected options string now ends with ;model=M. Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com> --- clean/fsr/tests/test_dll_d3d12.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clean/fsr/tests/test_dll_d3d12.cpp b/clean/fsr/tests/test_dll_d3d12.cpp index 3198e455..015a9ba9 100644 --- a/clean/fsr/tests/test_dll_d3d12.cpp +++ b/clean/fsr/tests/test_dll_d3d12.cpp @@ -2447,9 +2447,11 @@ int main(int argc, char** argv) { } if (mode == "network_split" || mode.rfind("network_split_stats",0)==0) { CHECK(Count(log, "interface version 2, flags 0x1 (same-frame split)") == 1); - // runtime_options reach the runtime after the front end's keys. + // runtime_options reach the runtime after the front end's keys, then the model the create runs (0.6.5's model + // choice, FrontEnd::ChooseModel): this test folder has no WrongGPU state folder and runtime_options names no model, + // so the fallback is Model M CHECK(Count(log, "fake runtime created (options: view=upscale;filter=bilinear;jitter_compensation=1;warp_weight=0.9;debug_gain=4;" - "split_test=0;timing_log=1;sync=pipelined)") == 1); + "split_test=0;timing_log=1;sync=pipelined;model=M)") == 1); CHECK(Count(log, "installing WrongGPU's D3D12 vtable hooks (a backend sets WG_BACKEND_NEEDS_SPLIT)") == 1); CHECK(Count(log, "first half on W1 behind order ticket 3,") == 1 && Count(log, "released in ExecuteCommandLists") == (mode=="network_split_stats_twice"?6:3)); CHECK(Count(log, "refused") == 0 && Count(log, "ERROR:") == 0 && Count(log, " ERROR U") == 0);