Repository navigation
Recompiler: direct compact form stores a branch's target in the entry - #2076
Royalflamejlh wants to merge 4 commits into
Conversation
d15c1ec to
f1b313f
Compare
|
Verified execution above the old table cap on The synthetic program has two 8,192-block segments, 16,387 blocks / 5 classes / 9,219 table words. It asserts inline encoding and natural automatic selection with Tested: native Windows 10 Home 19045, Ryzen 7800X3D, Rust/Cargo 1.98.1 MSVC, DXC/DXIL 1.8.2502.11, debug. cargo test --locked -p xcl --lib -- gpu::dxil::compact_tests::gpu_compact_inline_table_above_old_cap_checks_late_entries --exact --test-threads=1 --nocaptureSingle-call
The peak is for the entire process, including adapter setup and preliminary planning, not translator-only memory or a comparison of GPU efficiency. One debug run per form, no plain-form timing comparison, cold-PSO or speedup claim. Not tested: retail, full suite, arbitrary table contents, exact 12,288-word boundary, heap windows, driver refusal/fallback, GPU throughput, or comparison against the old runtime. First fixture attempt incorrectly expected an unused SGPR to be exported by the kernel harness; making SGPR2 and VGPR2/3 explicitly live fixed the fixture. That failure is not attributed to this PR. The attached test can supply a regression for the newly admitted range. AI assistance: Codex (GPT-6), fixture, execution and report. Portable test-only patch against f1b313fdiff --git a/crates/xcl/src/gpu/dxil/compact_tests.rs b/crates/xcl/src/gpu/dxil/compact_tests.rs
index a711ea0..b980892 100644
--- a/crates/xcl/src/gpu/dxil/compact_tests.rs
+++ b/crates/xcl/src/gpu/dxil/compact_tests.rs
@@ -168,3 +168,76 @@ fn a_mask_read_whole_after_one_copy_only_splits_the_class() {
assert_eq!(p.order.len(), 4);
assert_ne!(p.class[0], p.class[2]);
}
+
+#[test]
+fn gpu_compact_inline_table_above_old_cap_checks_late_entries() {
+ assert_eq!(compact_mode(), None, "run with XCL_DIRECT_COMPACT unset");
+ match (runner::adapter(), runner::wave64_programs_supported(), crate::gpu::recomp::dxc::location()) {
+ (Ok(_), Ok(true), Ok(_)) => {}
+ (a, _, d) => return runner::skip_test(if a.is_err() { "no GPU" } else if d.is_err() { "no DXC" } else { "no wave64" }),
+ }
+ // Two segments keep every signed branch displacement in range. Carry exits
+ // the current segment; falling through records a separate marker for each.
+ const COPIES: usize = 8192;
+ let i = |n: &str, e: &str, f: &[(&str, u64)]| encode(n, e, f, None).unwrap();
+ let mut code = Vec::new();
+ code.extend(i("S_MOV_B32", "ENC_SOP1", &[("SDST", 2), ("SSRC0", 2)]));
+ for r in [2, 3] {
+ code.extend(i("V_MOV_B32", "ENC_VOP1", &[("VDST", r), ("SRC0", 256 + r)]));
+ }
+ for marker in [3, 4] {
+ for k in 0..COPIES {
+ code.extend(i("S_ADD_U32", "ENC_SOP2", &[("SDST", 0), ("SSRC0", 0), ("SSRC1", 1)]));
+ code.extend(i("V_ADD_NC_U32", "ENC_VOP2", &[("VDST", 1), ("SRC0", 256), ("VSRC1", 1)]));
+ let offset = (COPIES - 1 - k) * 3 + 1;
+ assert!(offset <= i16::MAX as usize);
+ code.extend(i("S_CBRANCH_SCC1", "ENC_SOPP", &[("SIMM16", offset as u64)]));
+ }
+ code.extend(i("S_MOV_B32", "ENC_SOP1", &[("SDST", marker), ("SSRC0", 129)]));
+ }
+ code.extend(i("S_ENDPGM", "ENC_SOPP", &[]));
+ let o = KernelOptions { wave64: true, split: runner::split_wave64(), mem_windows: 1, sampler_base: 0 };
+ let cfg = super::cfg::Cfg::build(&code).unwrap();
+ let leaders = cfg.blocks.iter().filter_map(|b| b.insts.first().map(|&i| cfg.insts[i].pc)).collect();
+ let lw = super::lower::Lw::new(&cfg.insts, &leaders, o, &super::kernel::Entry::Kernel);
+ let p = super::compact::plan(&cfg, &lw).unwrap();
+ assert!(p.inline && p.words() > 8192 && p.words() <= 12288);
+ assert!(super::compact::wanted(&cfg, &p));
+ println!("LARGE_TABLE blocks={} classes={} words={} split={}", p.order.len(), p.rep.len(), p.words(), o.split);
+ drop((lw, cfg));
+ let start = std::time::Instant::now();
+ let k = translate_full(&code, o).unwrap();
+ println!("LARGE_TABLE translation_ms={:.3} dxil_bytes={}", start.elapsed().as_secs_f64() * 1000.0, k.dxil.len());
+ unsafe {
+ use windows_sys::Win32::System::{ProcessStatus::{K32GetProcessMemoryInfo, PROCESS_MEMORY_COUNTERS_EX}, Threading::GetCurrentProcess};
+ let mut mem: PROCESS_MEMORY_COUNTERS_EX = std::mem::zeroed();
+ mem.cb = std::mem::size_of_val(&mem) as u32;
+ assert_ne!(K32GetProcessMemoryInfo(GetCurrentProcess(), &mut mem as *mut _ as *mut _, mem.cb), 0);
+ println!("LARGE_TABLE pre_gpu_peak_process_commit={}", mem.PeakPagefileUsage);
+ }
+ for initial in [0u32, u32::MAX - 1, 0u32.wrapping_sub(COPIES as u32), 0u32.wrapping_sub((2 * COPIES) as u32), 0u32.wrapping_sub(COPIES as u32 + 1)] {
+ let mut st = KernelState::default();
+ st.sgpr[0] = initial;
+ st.sgpr[1] = 1;
+ st.sgpr[2] = 0x1234;
+ for lane in 0..KERNEL_LANES {
+ st.vgpr[lane][..4].copy_from_slice(&[lane as u32, 17, 0x12345678, 0x87654321]);
+ }
+ let (mut value, mut count, mut marks, mut carry) = (initial, 0u32, [0u32; 2], false);
+ for mark in &mut marks {
+ for n in 0..COPIES {
+ (value, carry) = value.overflowing_add(1);
+ count += 1;
+ if carry { break; }
+ if n + 1 == COPIES { *mark = 1; }
+ }
+ }
+ let out = runner::run_with_statics(&k.dxil, &st, &[], &[], &[], &k.static_samplers).expect("GPU run");
+ assert_eq!(&out.sgpr[..5], &[value, 1, 0x1234, marks[0], marks[1]], "initial {initial:#x}");
+ assert_eq!(out.scc, carry as u32);
+ for lane in 0..KERNEL_LANES {
+ assert_eq!(&out.vgpr[lane][..4], &[lane as u32, 17 + count * lane as u32, 0x12345678, 0x87654321], "initial {initial:#x} lane {lane}");
+ }
+ println!("LARGE_TABLE initial={initial:#x} steps={count} marks={marks:?} all_64_lanes_ok");
+ }
+} |
|
NVIDIA RTX 3070 on native Windows, head Tested
Regression run ( PR head That is 101 % of Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
A run with vkd3d-proton as the host D3D12. The DXIL goes through dxil-spirv and then the NVIDIA Vulkan driver, not the native-Windows path: this PR's 2 new tests pass, none skipped. Tested
Not tested
AI use
|
PR #2076 — Intel Arc A770 compatibilityTested
Not tested Hardware-native wave64, standalone wave32, execution above the old table cap, runtime performance, the wider workspace suite, and retail-title smoke. AI use T3 Code / Codex ( |
|
AMD RDNA4 driver for #2076's target program (record Setup
Method
Results (2 rounds each)
Read / inference
Not tested
AI use: Claude Code (Claude Opus 5.5) ran the census and measurement and drafted this. Counts and timings only, no game data. |
|
Cold in-title build of This covers the first item under Not tested. One run on each build, back to back. The retail title 1.0.2.1, release,
Build. Not this PR's head alone: Tested
Not tested
AI use: Claude Code (Claude Opus 5.5) read the logs, built the tree, ran the tests and wrote this comment. I ran the title. |
|
Thank you all for the runs. The head is now @bielfreedom: on your card this change was no gain and may have been worse: neither form of this program built within 24 GB on the RX 9070 XT, and the compact form reached the 24 GB in 31 s, the plain one in about 205 s. The change acts only with A guess about the cause, from one NVIDIA measurement: the form is one switch of 2,643 cases with each register a local variable. With the registers as SSA values instead (a local variant, 407,344 phi edges), the RTX 5070 Ti's driver took 92.9 s against 34.7 s (1 run each, numbers on #2088). If the AMD compiler turns the variables into that form, its memory would grow with the number of cases. Two runs would say where the line is, if you have the time: your method on @justrhoto: that is the number this pull request was missing, the cold build in the title: 55.1 s with its first three commits (to @WebIdentity1: your fixture is now in the pull request as @Parakeet-Wheat: you are right about @JoaoPauluu, @JJAutoCompare, @DavidM1911: your runs through vkd3d-proton, on the Arc A770 and on the RTX 3060 Ti, are in the description. AI use: Claude Code (Claude Fable 5.2) made Posted without review by a person: the account owner was away and reads replies later. |
|
@Royalflamejlh both runs, on Setup
ActivateProbes and ActivateProbesTarget both build within the cap
So on this card the line is between them and ActivateRays.
AI use: Claude Code (Claude Opus 5.5) ran this and wrote the reply. The account owner is away; counts and timings only, no game data. |
|
@bielfreedom: thank you, that settles it for this pull request. The two programs One thing for #2088's workstream 3 (the nested dispatch): the same two programs take your driver 57 to 70 s, and the RTX 5070 Ti's driver 4.4 to 6.4 s for their split wave64 form (2 runs, first call). So for these two programs the RX 9070 XT's driver took over ten times as long as the RTX 5070 Ti's, each on its own wave form (native against split), already at about 600 cases. AI use: Claude Code (Claude Fable 5.2) wrote this reply. Posted without review by a person: the account owner was away and reads replies later. |
|
Windows CPU-only check of the policy and translated disk cache on exact
AI use — OpenAI Codex (GPT-6.2 Sol) ran the checks and wrote this report. |
|
|
Hardening from the review of xcl-dev#2034. Whether an instruction has a static sampler follows from the moves before it in its block, which are in the key, so no two blocks share a key today; the flag makes the key's sections delimit themselves. The six largest compute programs of a retail pack come out byte for byte as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The third-largest compute program of a retail pack repeats itself as the two largest do (13,890 blocks of 2,643 kinds), but its branches go to 6,530 different pairs of offsets. As an index into a table of pairs its tables were about 24,000 words, over the limit, and it kept the plain form: 3.9 MB of DXIL. In it, as in the other large programs, a block's second successor is the next block or the same as its first. When every conditional branch of a program falls through to the next block, a table entry now holds the taken successor itself if that makes the tables smaller: 11,287 words here, in one table. The limit goes from 8,192 to 12,288 words, the size xcl-dev#1315 measured an RTX 5070 Ti accepting in the HLSL form, and the program takes the form. Part of xcl-dev#1269. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The limit on the compact form's tables went from 8,192 to 12,288 words and no test ran a table in between. This one does: two segments of 8,192 blocks each, 16,387 blocks of 5 classes, a table of 9,219 words with the targets in the entries, taken by the rule with XCL_DIRECT_COMPACT unset. Five starting values leave it by falling through, by an early carry, at the last branch of the first segment and at entries past the old limit, and every register is compared. The fixture is WebIdentity1's, from their test report on the pull request (RTX 3090 in the split wave64 form, AMD integrated graphics with native wave64). Its prints, timing and memory read are taken out, and it returns when XCL_DIRECT_COMPACT is set, as the size test does. Co-authored-by: WebIdentity1 <212448219+WebIdentity1@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ne waves The table limit went from 8,192 to 12,288 words on what an RTX 5070 Ti's driver took. On an RX 9070 XT (bielfreedom's report on the pull request) the program that the larger limit lets in built in neither form within 24 GB of memory, and its compact form reached 24 GB in 31 s against about 205 s for the plain one. The larger limit now applies where the GPU runs only 32-lane waves, which is what direct_compute already knows about the device; a GPU with 64-lane waves keeps the limit of 8,192 words, so that program stays plain there as it is on main. The test translates the 9,219-word program for both kinds of GPU. Its builder is the one of the card test above it, lifted into a function. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
I rebased the four commits from Windows 11, DXC/DXIL 1.8.2502.11. AI use: OpenAI Codex (GPT-6.2 Sol) assisted with resolving conflicts and testing. Originally posted by @ettehn in #2076 (comment) |
|
CPU table-encoding checks passed on exact PR head Tested
Not tested |
14ae010 to
e964ad2
Compare
The third-largest compute program of a retail pack now takes the direct compact form of #2034: 3,916,120 B of direct DXIL become 1,249,504 B, and vkd3d-proton's dxil-spirv converts it in 0.6 s where its plain form takes 485 s. The rule left this program out for the size of its tables. Part of #1269.
Rebased onto
main426a5a7(after #2174's nested dispatch, #2120 and #2203 merged): the head ise964ad2, the same four commits (621bbdd,040e46d,cb6b7b6,e964ad2); the conflicts inkernel.rs(both sides added a parameter totranslate_entry:nest, thentables) andcompact_tests.rs(both added tests) are resolved by keeping both, andcompact.rsmerged by itself: #2174's dispatch reads only the entry's class bits, which this change leaves as they were. On today'smainthis program's plain form is 2,401,896 B (was 3,916,120 B oncbc296a), and with this change on a GPU with 32-lane waves 1,250,960 B (−47.9 %); on a GPU with 64-lane waves, and for every other program, the output ismain's bytes (SHA-256,XCL_DIRECT_DXIL=1). Ate964ad2on an RTX 2070 SUPER (native Windows, debug, 1 run each):cargo test --workspace -- compact --test-threads=412 passed, 0 failed, none skipped (#2174's three tests among them);-- gpu_ --test-threads=4148 passed, 0 failed, 1 ignored. The suite under Wine on the merge with5478c4a(the same four files): 1,163 passed, 5 failed, the 5mainhad then. The numbers below are on the older base unless said.The head is
14ae010:f1b313f, then @WebIdentity1's fixture for a table over the old limit as a test-only commit (623aaaa), then a guard for cards with 64-lane waves (14ae010). On an RTX 5070 Ti (native Windows, debug) the 7compact_testspassed atf1b313f, the three card tests among them; at14ae010all 9 passed on an RTX 2070 SUPER, the four card tests among them. Both regression blocks are below, and the RTX 5070 Ti's driver took this program's table: 33 s for its compact form, 458 s for its plain one. In the title on an RTX 4070 Ti SUPER (@justrhoto's run below) its cold build took 55 s with the change and was not finished after 460 s without.On AMD it is no gain as it stands (@bielfreedom's report below): on an RX 9070 XT neither form of this program built within 24 GB of memory, and the compact form reached that limit in 31 s against about 205 s for the plain one. The change acts only with
XCL_DIRECT_DXIL=1, which is not the default. The last commit answers it: on a card with 64-lane waves the limit staysmain's 8,192 words, so this program stays plain there, as onmain. Plain did not build on that card either, so this makes the change neutral there; it fixes nothing there.What is in it (four commits)
compact.rs, the tables: the program's branches go to 6,530 different pairs of offsets, so as an index into a table of pairs its tables were 23,913 words. In it, as in the other five of the six largest programs, a block's second successor is the next block or the same as its first. For such a program an entry now holds the taken successor itself when that makes the tables smaller: 11,287 words here, in one table. The limit for taking the form goes from 8,192 to 12,288 words.compact.rs, the key (its own commit, from the review of Recompiler: direct DXIL lowers a repeating compute program's blocks once #2034): a flag for whether an instruction has a static sampler. Hardening only: the sampler follows from the moves before it in the block, which are in the key.compact_tests.rs, two tests: a program of 1,000 early exits to one place needs under 500 words of tables (2,381 onmain, where the test fails);gpu_compact_form_with_targets_in_the_entry_runs_as_the_plain_formruns 40 such exits in both forms and compares every register.compact_tests.rs, a third test in its own commit, with @WebIdentity1 as co-author (their fixture, from their report below; I took out its prints, timing and memory read, and it returns whenXCL_DIRECT_COMPACTis set):gpu_compact_inline_table_above_old_cap_checks_late_entriesbuilds 16,387 blocks of 5 classes, a table of 9,219 words with the targets in the entries, taken by the rule, and runs it on a card from five starting values, checking five SGPRs, SCC and four VGPRs in all 64 lanes. No test ran a table between 8,192 and 12,288 words before it.kernel.rs,compact.rs,pso.rs, the guard (its own commit): the limit of 12,288 words applies where the GPU runs only 32-lane waves, whichdirect_computealready knows about the device (split_wave64); a GPU with 64-lane waves keeps 8,192 words.a_gpu_with_64_lane_waves_keeps_the_first_table_limittranslates the fixture's program for both kinds of GPU (its builder is lifted out of the fixture into a function for that). The choice: a limit on the number of cases for such a card would say more exactly what failed on the RX 9070 XT, and @bielfreedom's second report puts that line between about 600 and 2,643 cases on the RX 9070 XT, from three programs; this is the smaller change, and it returns such cards tomain's behaviour.Tested
x86_64-pc-windows-gnu.mainiscbc296a. The numbers were taken ona429968; the second commit,f1b313f, tightens one condition (a conditional branch's second successor must be the next block for the one-table form) and gives the six programs the same bytes (SHA-256).XCL_DIRECT_DXIL=1 xcl shaders <folder> --precompile --only cs --split 1from an empty cache, 1 translation each:main"The same bytes" is by SHA-256.
dxil-spirv as vkd3d-proton ships it (command-line tool, 8 GB limit, 1 conversion): the 76,699-instruction program in 0.6 s, 4,403,404 B of SPIR-V, which
spirv-val --target-env vulkan1.3accepts. Its plain form took 485.4 s and gave 20,781,956 B onmaincbc296a.The whole pack,
xcl shaders <pack> --direct --validate --only cs --split 1 --max-bytes 0 --sample 100000(26,698 programs, 2,689 of them compute): with the rule deciding, 3 take the form (2 onmain, by the six-program run) and DXC's validator accepts every program; with the form forced on every compute program it accepts every one too.A 23,000-record slice of the pack (836 cached translations): 231,800,172 B on
main, 229,133,556 B with the change, the difference being this one program.cargo test --workspace --release --target x86_64-pc-windows-gnu --no-fail-fast -- --test-threads=8under Wine, no card: 1,150 passed, 6 failed, 46 ignored;main: 1,148 passed, 6 failed, 46 ignored. The same six fail on both:disk_free_space_ex_reports_pls_quota,fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_console,directed_reference_basics,gpu_depth_buffer_created_for_unordered_access_is_placed,stale_blob_cannot_bypass_the_offline_pipeline_cap,test_title_runs_and_game_folder_is_untouched. SKIPPED lines: 296 (295 onmain), no GPU or a missing wave size; the new card test is one of them.The direct translator's own tests under Wine with
XCL_DIRECT_DXIL=1 XCL_DIRECT_COMPACT=1: 123 passed, 1 failed (directed_reference_basics, which translates nothing and fails onmaintoo), 3 ignored.On the same RTX 5070 Ti (driver 621.24), with no other job of ours running on it, debug build of
f1b313fplus one local test that callsCreateComputePipelineStateon a program's direct DXIL with XCL's root signature, split wave64 form, the driver's cache on, 1 run: the 76,699-instruction program in the compact form (1,249,504 B, one table of 11,287 words) took 33.16 s on the first call and 0.009 s on the second; its plain form (3,916,120 B,XCL_DIRECT_COMPACT=0) took 457.8 s and 0.028 s. The two programsmainalready compacts took 6.44 s and 5.22 s (484,508 and 442,740 B).The same card,
cargo test --workspace -- gpu_ --test-threads=4withXCL_DIRECT_DXIL=1, debug, 1 run each: 132 passed, 5 failed, 1 ignored, and the same withXCL_DIRECT_COMPACT=1added: the same five with the same messages (fourfuzz_validate_and_gpu_*atCreateComputePipelineState,gpu_image_get_resinfo_1d_array). 2 SKIPPED lines in both (no native wave64).The head on a second card: RTX 2070 SUPER 8 GB (driver 621.01), native Windows 11, debug,
cargo test --workspace -- compact_tests --test-threads=1at14ae010, 1 run: 9 passed, 0 failed, none skipped (8 of 8 at623aaaa).The guard, offline at
14ae010, the six programs again: with--split 0(a GPU with 64-lane waves) all six aremain's bytes (SHA-256), this program 3,916,120 B plain; with--split 1all six are the bytes of the table above, this program 1,249,504 B.The suite under Wine at
14ae010, the same command: 1,152 passed, 6 failed (the same six), 46 ignored, 297 SKIPPED lines.The card tests through the direct translator on the RTX 2070 SUPER,
cargo test --workspace -- gpu_ --test-threads=4withXCL_DIRECT_DXIL=1, debug, 1 run each: 138 passed and 1 failed at14ae010, 135 passed and 1 failed oncbc296a. The failure is the same test with the same message on both (gpu_image_get_resinfo_1d_array); the 3 more are this pull request's card tests. 2 SKIPPED lines on both (no native wave64).In the heap-window form (
XCL_HEAP_WINDOWS=1, four windows), which D3D12.X: integration branch that reaches the in-world HUD on NVIDIA (reference, not for merge) #2057's tree runs with;f1b313fplus a local test that translates a record with that window form, 1 translation each: this program is 3,345,980 B plain and 1,110,268 B compact, and the six are 17,335,572 B with the compact form off and 7,992,852 B with this change (mainalready compacts two of them; this change's share is this program's 2,235,712 B). On the RTX 5070 Ti the driver built the 1,110,268 B in 17.09 s on the first call (1 run, the driver's cache on; the two programsmaincompacts took 3.77 and 3.44 s). Its plain form in the heap-window form is not timed. In thegpu_run above withXCL_DIRECT_COMPACT=1,gpu_memory_windows_from_the_heapandgpu_heap_windows_reject_out_of_uma_aliasingpassed: small programs with two heap windows, in the compact form on the card.Reports from other machines, below, at
f1b313funless said:XCL_DIRECT_DXIL=1 XCL_PSO_WAIT_MS=500, onmain6020a33+ D3D12.X: title texture reads outside the coherent window use the safe copy #751 + D3D12.X: big compiles of bound programs take turns under a bind budget #1686 with and without this pull request's first three commits, 1 run each: this program's cold build in the driver took 55.1 s with the change (1,249,504 B, from 28.6 s to 83.6 s of the run) and was not finished after 460 s without it (3,916,120 B, from 60.0 s to the run's end at 520.1 s). Their suite on that tree: 1,162 passed, 0 failed, 46 ignored.XCL_DIRECT_DXIL=1, one pipeline thread, 2 rounds each: the plain form (cbc296a) was still building at 205 to 211 s with 24 GB of private bytes, the compact form at 31 s with 24 GB; both were stopped there. Neither built.cbc296a, 2 rounds: the two programsmainalready compacts (records56c0cd3b82a00c6eand958400d2caf07244, 446,812 and 406,644 B in the native wave64 form) built in 69.9 / 69.9 s and 60.3 / 56.8 s, 11.3 GB peak. And at14ae010with the default adapter, 0 of 2,689 compute programs differ fromcbc296a: the guard holds on that card, and this program stays 3,916,120 B plain there.cbc296aand passes with the change, 7 of 7compact_tests,scripts/test.ps11,156 passed, 0 failed, 46 ignored, and a smoke pair.gpu_compact_form_with_targets_in_the_entry_runs_as_the_plain_formpassed.main:cargo test -p xcl --libpassed on a single-threaded rerun (an intermittent abort in parallel, Test suite: parallel cargo test intermittently dies with 0xc0000005 (hle::d3d12x queue_tests × list_x race) #1978).With Recompiler: split large direct compute pipelines at CFG edges #2080 (
af2bd61: large direct programs split into pieces built in parallel), offline. It merges with this change without a conflict, and the merged tree gives the three compact programs the same bytes as this change alone (SHA-256); none of the six is split. On Recompiler: split large direct compute pipelines at CFG edges #2080 alone the split is asked for this program's plain form and refused, because the program has group-shared memory (split_computerefuses a global that is not constant); the two largest have 8×8 thread groups and are not asked. So the two do not meet on these programs: this one stays one pipeline of 3.9 MB under Recompiler: split large direct compute pipelines at CFG edges #2080 alone.The title on the RTX 5070 Ti PC with
f1b313fandXCL_DIRECT_DXIL=1, release, 300 s, A pressed from 32 s, 2 runs one after the other: first#101at 79.8 and 78.4 s, last present at 82.0 s in both, exit 0, no device removal. The last present did not move: onmainwith the same switch it was at 86.0 and 84.0 s. This program came as 1,249,504 B and its pipeline was made in 0.74 s and 0.06 s from a driver blob XCL had kept from an earlier build of the same bytes on that PC, so these runs do not show its cold build in the title; they show that it no longer keeps a thread in the driver. After the last present the title went on making compute pipelines to the end of both runs: 338 and 193, of which the driver built 186 and 104 and the rest came from kept blobs (the longest builds took 59 and 65 s, programs of 1.2 to 2.0 MB that do not repeat themselves).Regression run
Native Windows 11, RTX 2070 SUPER 8 GB (driver 621.01), the retail title, 60 s, 1 run each, the head first.
smoke.ps1sets noXCL_DIRECT_DXIL, so neither run reaches this code. Atf1b313fon the RTX 5070 Ti the pair was 1,632 frames and 15,638 MB onmain, 1,637 frames and 17,163 MB with the change.main:
PR:
Not tested
XCL_DIRECT_DXIL=1at14ae010(the title runs here were atf1b313f).xcl shaders --direct, a survey that builds no pipeline, still applies 12,288 words whatever--splitsays.a429968. For a GPU with 32-lane waves only, the head gives the six programs the same bytes.mainsince Recompiler: direct DXIL lowers a repeating compute program's blocks once #2034, and this pull request puts one more program in it. The measurement is in [OFFICIAL] Swarm: cold PSO compilation to first playable frame #2088 (comment).XCL_HEAP_WINDOWS=1.AI use
426a5a7: Claude Code, a session on Claude Fable 5.2 and an agent of it on Claude Opus 5.5, resolved and tested it; the paragraph on it was written by Claude Opus 5.5.