Commit Graph

18350 Commits

Author SHA1 Message Date
be76908059 Merge pull request #2722 from OreoFR/carry/pr-1906
reprend #1906: wave64_emulate_opt: model s_bitset0/1_b32/b64 as read-modify-write and SCC-less (SHADER-W64-EMU-BITSET-RMW)
2026-11-30 16:12:58 +01:00
5399c667e2 Merge pull request #2721 from OreoFR/carry/pr-1907
reprend #1907: wave64_halves: model image_atomic_* as atomic memory sinks (SHADER-W64-HALVES-IMAGE-ATOMIC)
2026-11-30 16:11:53 +01:00
f5f80759fe d3d12: bind MotionBlur in the dynamic resolution preset 2026-11-30 16:08:17 +01:00
ed699ed767 rdna2_decode: name source operand 239 src_pops_exiting_wave_id, as llvm-mc does
The carry's new fixture ps_pops_wait_loop.asm reads it (s_add_i32), and
test_parity_with_llvm_mc_on_shader_fixtures failed where llvm-mc is installed:
the decoder gave raw src_239. rdna2spirv and shader_ir already expect the special name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:07:32 +01:00
daa3f47a97 Frame generation: a present whose depth and motion vectors do not join it to the picture before is a reset
A present with nothing new from its frame (a menu, the map, a loading screen: no G-buffer pass or upscale
since the last present) carried the last frame's depth and motion vectors with reset false, so DLSS-G made a
frame between a game picture and a menu one along vectors that do not join them; so did the first fresh
present after such ones, and a pass whose depth or motion vectors are other textures than the last one's.
Each is now told as a reset (LEONIDA_FG_RESET_STALE, on; 0: only the upscale's own reset), counted in the
log. fg::native_swap_chain hands back the very pointer Streamline holds.

AI-assisted (Claude). Tested on an RTX 4060 Ti (driver 616.64): builds with and without diagnostics;
recorded runs with the pause menu opened and closed to follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 10:07:25 -05:00
8b6cbb3483 Shown frames: every table of the native swap chain's interfaces is hooked, and a missed copy says why
The first run saved nothing: the hook went into the table of the IDXGISwapChain3 interface asked for, while
Streamline may present through the pointer it holds. Now each distinct table among the swap chain's
interfaces (IDXGISwapChain to IDXGISwapChain4) gets ours, Present1 only in tables of IDXGISwapChain1 or
later, each keeping its own originals; the first hooked present and each reason a copy is not made are
logged once.

AI-assisted (Claude). Tested on an RTX 4060 Ti (driver 616.64): builds with and without diagnostics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 10:07:25 -05:00
8bd4b2fb9c Diagnostics: the frames the swap chain really shows, generated ones too (LEONIDA_CAPTURE_SHOWN=1)
With frame generation the screen shows a frame DLSS-G makes between each two the title renders, presented
by Streamline on the native swap chain behind its proxy from a thread of its own; the capture at our present
never saw those, so their ghosting and flashes could not be looked at. With LEONIDA_CAPTURE=<folder> and
LEONIDA_CAPTURE_SHOWN=1 the native swap chain's Present and Present1 are hooked: right before each, the buffer
about to be shown is copied on the queue the swap chain presents on (its GetDevice), a thread of ours waits for
the copy and saves shown-<n>.png (half size) while a file named rec is in the folder, with shown-times.txt
(<n> <our presents> <us>). Diagnostics builds only.

AI-assisted (Claude). Tested on an RTX 4060 Ti (driver 616.64): builds with and without diagnostics; a run
with frame generation to follow before it is pushed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:57:00 -05:00
9f2ca58992 docs/testing: commit the red side's test before pushing (review on #2747)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 15:56:55 +01:00
cf85f30a2f Merge perf/d3d12-lower-load-uses (#2745) into perf/d3d12-shader-fast-hash
The tables #2745 adds (the uses of each descriptor load and the loads of
samplers) are made with the same hasher.

AI-assisted: Claude Sonnet 5.5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-30 08:56:25 -06:00
b6ab4c745b leonida-shader: hash the translator's tables with a multiply hasher, not SipHash (D3D12-SHADER-FAST-HASH)
`std::collections::HashMap` hashes with SipHash. The keys of the
translator's tables are numbers it made itself (values, blocks, types,
sites) while reading the user's own file, so nothing gains from SipHash's
resistance to chosen keys, and `structure.rs` already says "SipHash
dominated run time" about its BDD tables and has its own hasher for
them. The others did not. In a sampling profile of a whole-archive
`leonida translate` (24,055 samples, 5 ms, 16 threads) SipHash was under
a frame of the translator in 21 % of the samples: 13.7 % in
`Module::merge` (the value-numbering tables `known`, `read` and `Facts`
of `emit/bitcode/opt.rs`), 1.6 % in the interning tables of
`emit/bitcode.rs`, 1.2 % in `io::raise`, 1.7 % in `Lower::new` and
`Lower::computed_with`, and the rest in the `Lower` tables.

New `fxhash.rs`: `FxHasher` (a multiplication per word and a rotation of
the product, so that the well mixed high bits are where a table takes its
bucket from), `FxHashMap` and `FxHashSet`. Used for the tables of
`Module` (types, constants, functions), of `Module::merge` (`known`,
`read`, `joins`, `Facts`), of `io::raise` and the tables `Lower` and its
paired `LaneState` keep by value, block, site and descriptor. Only
tables that are looked up, or walked for a result that is the same in any
order (`read_phis`, a closure); `structure.rs` and the tables that are
iterated for their order are left as they were. After it SipHash is under
1 % of the samples (230 of 23,545).

- fxhash::tests: equal keys hash equal and near keys, a string and the
  same with zeros after it, and slices of different length differ; the
  low bits (a bucket) and the top seven (a tag) of the hashes of 131,072
  small numbers, multiples of 4,096 and 65,536, pairs and triples spread
  within 3 times the mean (without the rotation of the product, the
  multiples of 4,096 all land in one bucket and it fails); a map with the
  hasher agrees with a `BTreeMap` over 20,000 random inserts, removals and
  lookups.

Output unchanged: `leonida translate` over the whole archive, the DXIL of
all 25,689 emitted programs (15,799 distinct) hashes the same in every
run of the old and new builds (12 runs, both heaps). Full archive, Ryzen
7 7800X3D (16 threads), --release, alternating, system heap: 63.8/64.1/
64.2 s wall and 885/889/889 CPU-seconds -> 58.6/58.4/59.0 s and 797/794/
802; with mimalloc (the game's build): 45.4/45.1/45.3 s and 636/633/633
-> 40.6/40.2/41.6 s and 562/558/562.

AI-assisted: Claude Sonnet 5.5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-30 08:55:33 -06:00
232f9e603a Merge remote-tracking branch 'origin/main' into push/main-1130 2026-11-30 09:50:07 -05:00
fc48622c2b A launcher for the title's dynamic resolution between 1080 and 1440 lines; the one-frame black floor was the camera
scripts\play-X-1080-1440p.ps1 starts Series X with -Lowest 1080: the title's own dynamic resolution picks the
height between 1080 and 1440 lines (output 1440p), about 13% shorter frames than play-X-1440p.ps1 on an
RTX 4060 Ti (57.0 and 59.6 ms against 66.0 and 67.9).

Findings: the one-frame dark cells of the recorded turns (d220, d226) are a dark wall crossing a cell between two
bright views in a fast turn, not a renderer fault; and frame generation's motion vectors on Series X are in the
units the title gives its own FidelityFX upscale (pixels, scale [1, 1], depth inverted, near 10,000, far 0.15).

AI-assisted (Claude). Tested on an RTX 4060 Ti (driver 616.64), Ryzen 5 7600X: the launcher parses; the findings
come from recorded runs d155, d174, d175, d194, d220 and d226.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:49:53 -05:00
89b895f287 tests: end the file with one newline, not two
No content change.
2026-11-30 15:47:26 +01:00
dbd6ccc2ba tests: end the file with one newline, not two
No content change.
2026-11-30 15:47:21 +01:00
e5c8492806 tests: end the file with one newline, not two
No content change.
2026-11-30 15:47:16 +01:00
bed9ed0c16 tests: end the file with one newline, not two
No content change.
2026-11-30 15:47:12 +01:00
0703aebb4e docs/testing: red and green of a runtime pull request on your fork's CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 15:46:35 +01:00
2afbcef3c0 runner: skip the exact exp2 case on Apple's Paravirtual device
That device's OpExp2 lands two ulps low on 2^-125, so the bit-exact fixture cannot
hold there; real Apple hardware returns the exact pattern (M5 Max, MoltenVK 1.4.2,
passes the same case), which is why this skips by device instead of widening the
check for everyone.

The skip reads the device line the harness already prints beside the subgroup line
that wide_pixel_skip reads, so it needs no new plumbing.

Written with an AI assistant.
2026-11-30 15:39:20 +01:00
a70a976cd8 Merge remote-tracking branch 'origin/main' into reprise-1837 2026-11-30 15:38:14 +01:00
e3af360709 d3d12: keep the return of build_compute_pipeline, and align the new lines
The slow-pipeline line replaced the fprintf but also removed the function's
return out; - the body then fell off the end of a non-void function. MSVC at /W4
reports neither C4715 nor C4716 for this shape and the build stays green, so the
caller would have read an uninitialised ComputeBuild; the test suite does not
distinguish the two, which is why the earlier build-based check missed it.
Restored, and the new statements dedented to the block they belong to.
2026-11-30 15:35:28 +01:00
7acf84d38f d3d12: say where a slow pipeline came from, and whether its journal was written
The slow-pipeline line reported 	ook N s to build for a timer that starts before the journal file is read
and before the shared cache is asked, so it named a compile for what could be a cache lookup. Chasing a compile
cost from it is chasing the wrong number: a run with 16 such lines had compiled exactly one pipeline.

The line now names the source (a compile, the shared cache, or the pipeline's own journal file) and carries the
hit the journal reported, whether its cache was seeded from a file, and whether the file was written afterwards.
That is what turned three contradictory readings of the same log into one, on an RTX 4090 with a warm journal:
23 slow lines, all hit 0, seeded 0, written 1 - first-sight pipelines, each compiled once and journaled.
2026-11-30 15:26:46 +01:00
88d0dbf9c1 leonida-shader: index what uses each descriptor load instead of scanning all descriptors (D3D12-SHADER-LOWER-LOAD-USES)
`Lower::descriptor_data` (a scalar load of a descriptor that the code
also reads as numbers) asked what uses the load by walking every
resource descriptor of the program and building the `Vec` of each one's
leaves with `Source::leaves`, once for the load and again for every
other load of the same address (`twin`); `descriptor_data` and
`unused_descriptor_kind` did the same over the samplers' descriptors to
leave a sampler's load alone. In the eleven pixel programs that take longest to
lower (some 800 descriptors each) nine tenths of the samples of the
translating thread were in those walks and the allocations they made.

`Lower::load_uses` builds, on the first call, a map from each load to
the descriptors that take it as a leaf of their source (the first leaf
of each descriptor that is the load, in the descriptors' order, as the
scan found it) and `Lower::is_sampler_load` the set of loads a sampler's
source is. `Source::for_each_leaf` visits the leaves in the order
`leaves` lists them without building the vector.

- the_index_of_load_uses_answers_as_the_scan_did keeps the scans as they
  were and compares them with the indexes for every instruction site of
  four of the waterfall programs of `resource::tests` and for made-up
  descriptors of every kind of source (a load two leaves of one
  descriptor name, one two descriptors name, a sampler's load, leaves
  that are no load's dwords). With the one-per-descriptor check left out
  it fails.
- each_leaf_of_a_source_is_those_leaves_lists_in_order compares
  `for_each_leaf` with `leaves` on a source nesting every kind.

Output unchanged: `leonida translate` over the whole archive, the DXIL of
all 25,689 emitted programs (15,799 distinct) hashes the same as before
in every run of both builds. Full archive, Ryzen 7 7800X3D (16 threads),
--release, alternating, system heap: 64.1/63.7/64.3 s wall and 884/884/
886 CPU-seconds -> 54.2/53.7/53.5 s and 735/734/732; with mimalloc (the
game's build): 44.9/44.8 s and 628/629 -> 43.1/42.5 s and 596/596. The
eleven pixel programs alone: 7.5/7.3 CPU-seconds -> 1.4/1.2.

AI-assisted: Claude Sonnet 5.5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-30 08:21:36 -06:00
b17b22d331 Merge pull request #2744 from aslan2142/docs/recommended-agents
docs: recommend AI models and separate reviewer agent in CONTRIBUTING.md
2026-11-30 15:09:33 +01:00
eb3d976b89 Update CONTRIBUTING.md 2026-11-30 09:09:19 -05:00
cf1ab6623b docs: recommend AI models and separate reviewer agent in CONTRIBUTING.md 2026-11-30 09:04:56 -05:00
aa0687837f Merge remote-tracking branch 'upstream/main' into fix/decode-ds-llvm-parity 2026-11-30 14:04:40 +00:00
b3b064bb79 tests: keep swizzle_search coverage when the user site is isolated
Applied from merzleckeier's follow-up (f9456e020), unchanged: the two render()
calls use the parent's numpy and Pillow, and the three CLI validation checks
finish before the child needs numpy, so all five should run rather than skip.
The two PNG preview subprocesses need Pillow in the child, which the isolated
probe now checks.

Written with an AI assistant.
2026-11-30 14:55:47 +01:00
1eee5a1aaa tests: a sibling that imports a numeric tool is not a startup failure
test_each_sibling_importing_tool_starts skipped a NUMERIC list when numpy was
missing, but it asked find_spec in this process while the tools run with -I, so
the skip never fired here; and a list of names cannot cover calibrated_texture
and tex_export, which are not numeric themselves and import one that is.

The probe now matches how the tools run, and a child that fails with
"No module named 'numpy'" is skipped rather than failing the startup check.

Measured on main b8bd37111, Windows 11, Python 3.13: 2 failed, 2 passed,
218 subtests before; 2 passed, 214 subtests after (the four are the two
numpy-dependent subtests, skipped). With numpy visible to -I nothing changes.

Written with an AI assistant.
2026-11-30 14:55:47 +01:00
aa51a9693e tests: swizzle_search's CLI gates ask the way the tool runs too
The same in-process numpy check, in the file whose CLI tests spawn
`python -I`: HAVE_NUMPY stayed for the tests that call numpy here, and the
nine CLI gates now use NUMPY_VISIBLE_TO_TOOL, the isolated probe.

Measured on main b8bd37111, Windows 11, Python 3.13: 3 failed, 23 passed,
5 skipped before; 21 passed, 10 skipped after. Where -I sees numpy the probe
returns true and every gate opens as before.

Written with an AI assistant.
2026-11-30 14:55:47 +01:00
3c26f69f0c tests: tile_probe's numpy gate asks the way the tool runs
HAVE_NUMPY used importlib.util.find_spec in this process, while the tests run
the tool with python -I, which hides the --user install this machine has. The
gate opened and four cases died on "needs numpy" instead of testing what they
name. The file already did this correctly for Pillow (HAVE_PIL_ISOLATED); this
applies the same probe to numpy and gates the four cases that reach it, keeping
the eleven that test behaviour before numpy.

Measured on main b8bd37111, Windows 11, Python 3.13: 5 failed, 12 passed before;
11 passed, 4 skipped after. Where -I sees numpy the probe returns true and the
four run as before.

Written with an AI assistant.
2026-11-30 14:55:47 +01:00
aec457e1d7 tests: exercise amd_swizzle guards with isolated dependencies
AI-assisted with OpenAI Codex.
2026-11-30 14:55:41 +01:00
34046550a8 amd_swizzle: validate without numpy, and ask the gate the tool's question
Two things kept this test file red on a machine where numpy came from
pip install --user:

- the tool imported numpy at module level, so a bad --width reported
  "needs numpy" instead of "must be at least 1". numpy is imported late now
  and only the computation requires it;
- the skip gate asked whether numpy imports *here*, while the tests run the
  tool with -I, which hides the user site. It now probes the way the tool runs.

Measured on main b8bd37111, Windows, Python 3.13: 9 failed, 8 passed, 3 skipped
before; 14 passed, 6 skipped after. On a machine where -I sees numpy, the probe
returns true and the three gated cases run exactly as before.

Written with an AI assistant.
2026-11-30 14:55:41 +01:00
0d94741771 tests: the script run also executes FeatureScanAtomicOutputTests
The `__main__` scan collects the `test_*` globals, so the class's three methods
never ran in the plain-script invocation CI uses - which means the two skips this
PR adds never took effect there either. The class is loaded explicitly now.

Measured here: the script run goes from 13 top-level tests to those plus
"Ran 3 tests ... OK (skipped=2)", and pytest still reports 14 passed, 2 skipped.

Written with an AI assistant.
2026-11-30 14:55:30 +01:00
6c923fb419 tests: the two write-failure cases need preexec_fn, which Windows does not have
They fail on Windows today, and CI cannot see it because that file runs on Linux
there: FeatureScanAtomicOutputTests' two "failed write" cases pass
preexec_fn=fail_file_writes to subprocess, which is POSIX-only.

Measured on main b8bd37111, Windows 11, Python 3.13: 2 failed, 14 passed before;
14 passed, 2 skipped after, with the reason printed. On POSIX nothing changes.

Written with an AI assistant.
2026-11-30 14:55:30 +01:00
7c99b8e504 tests: compare the local baseline's numbers, not a timing threshold
merzleckeier measured what a bigger limit buys and it is not enough: at a 1024x
slowdown the 1000x draft still failed 0/3, while comparing the run's baseline
back against the file it was given passed 3/3. A limit measures the runner;
the numbers do not.

So the case now reads the measured values out of the baseline it just wrote and
asserts the second run used exactly those, with no --max-slowdown on that
invocation. The over-limit behaviour keeps its own deterministic test
(--max-slowdown 0.01 must report one), untouched.

Verified here: 10 passed, 5 subtests; and substituting a different baseline
makes the case fail (1 failed), which is what the assertion is for.

Written with an AI assistant.
2026-11-30 14:55:19 +01:00
37626c0ace tests: the local-baseline case does not measure CPU contention
test_a_local_baseline_replaces_the_committed_one asks that a locally written
baseline replaces the committed one; the 5x limit was incidental to that, and on
a shared runner it turned the case into a performance test whose only observed
failure was a contended box (macos-python on #2641: returncode 1 with empty
stderr, i.e. the tool's own over-limit verdict).

The over-limit behaviour keeps its deterministic coverage: --max-slowdown 0.01
must report one, and that case asserts it.

Written with an AI assistant.
2026-11-30 14:55:18 +01:00
8b605a7b71 awc_opus: a kept Ogg still contributes its cue-sheet limit
merzleckeier found it: the early `continue` on an Ogg that --skip-existing keeps
also skipped `frame_limits[cid]`, so a rebuilt cue sheet described only the
channels this run wrote.

The kept file's own EOS granule is the authority - recomputing the limit from
this run's packets would describe a file that was not written - so read it back
with ogg_last_granule(). The regression test fails without the change.

Written with an AI assistant.
2026-11-30 14:54:47 +01:00
90cf6be69b tests: expect --skip-existing on the ogg opus call
The assets test asserted the command line without the flag this branch adds,
so it failed as soon as the stage started passing it. The flag is the point of
the change: a stopped export leaves most of the Ogg files written and no
marker, and --skip-existing makes the restart keep the ones already done.

Written with an AI assistant.
2026-11-30 14:54:46 +01:00
cb89a384d2 tools: skip Ogg Opus outputs that already exist, so a stopped audio export resumes
awc_opus.py repacked every bank on every run, so a stopped assets run redid
the whole Ogg Opus step: on one machine 664,446 .ogg files were already
written and the restart began at bank 0. The stage marks the step done only
after it finishes, so there was no per-bank resume.

--skip-existing leaves an output that exists alone before packing a music
channel or writing a stream's .ogg/.wav, and make_game.py passes it in the
audio step. The staged writer publishes atomically, so an existing file is
always complete.

Measured on a 1 MB bank with 29 outputs: first export 0.8 s, second with the
flag 0.23 s and 0 files rewritten, while the same export without the flag
does rewrite them. tests/test_awc_opus.py covers that with the control.
2026-11-30 14:54:46 +01:00
f44904d21c Merge pull request #2718 from OreoFR/carry/pr-1726
reprend #1726: run_gpu_tests: sort cs_dump tables one entry per line (TEST-RUN-GPU-SORTED-TABLES)
2026-11-30 14:54:12 +01:00
ac0e33f782 Merge pull request #2717 from OreoFR/carry/pr-2130
reprend #2130: bvh_tri_probe: harden --oracle/--kernel, upfront atomic JSON writes, and oracle error handling (BVH-TRI-PROBE-JSON-AND-CLI)
2026-11-30 14:53:38 +01:00
20fe0c7546 Merge pull request #2693 from TheGeogeo/d3d12-pool-grow-unlocked
d3d12: blocks of textures and staging buffers are made with their pool's lock released (D3D12-POOL-GROW-UNLOCKED)
2026-11-30 14:43:42 +01:00
3c07d16770 Merge pull request #2692 from TheGeogeo/d3d12-land-pool-limit
d3d12: a landing pool asks its limit once a batch, and parks no thread without LEONIDA_AB (D3D12-LAND-POOL-LIMIT-ONCE)
2026-11-30 14:43:29 +01:00
986771506d leonida-shader: Bools::given from the literals a condition forces (D3D12-SHADER-STRUCTURE-GIVEN-FORCED)
`Bools::given(b, known)` restricted `b` by every atom `known` decides. It
found them one atom of `b` at a time: for each, build the conjunction of
`known` with the atom's negation (and with the atom) and compare it with
0. In `structure::finish`, which calls it for every block's guards,
branches and mask joins, that was 97 s of 114 s of a full-corpus
translation's 330 s of structure time (1.52 million calls, 5.4 million
atoms, 10.7 million `implies`).

What `known` decides is a property of its nodes alone: the literals that
hold on every path to 1. `Bools::forced` finds them in one pass over the
condition (a node's are its children's intersection, or the one child's
plus its own atom where the other is 0), and keeps them per node for the
later calls on the same condition (bounded, then it starts over); `given`
applies them to `b` in one restriction. Where nothing satisfies `known`
every atom of `b` is decided both ways and the old code took them as
true: kept (b at all-ones). The result is the same function, so the same
node.

- given_as_the_forced_literals_of_what_is_known_gives_what_testing_each_atom_gave
  keeps the old algorithm as the reference and compares it with `given` for
  every pair of 72 random functions (conjunctions of literals among them,
  and the constants), and checks `forced` against `implies` for every atom.
  With the intersection's comparison of values left out it fails.
- `restrict` (one atom) is only the test's reference now: cfg(test).
- docs/findings.md: where the translator's time goes, by stage and by size.

Output unchanged: `leonida translate` over the whole archive, the DXIL of
all 25,689 emitted programs (15,799 distinct) hashes the same in 4 runs of
the new build and 5 of the old. Wall clock 65.2/65.1/65.1 s -> 59.4/59.5/
61.6 s, CPU 890/894/889 s -> 818/820/821 s (Ryzen 7 7800X3D, 16 threads,
--release, alternating).

AI-assisted: Claude Sonnet 5.5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-30 07:33:16 -06:00
ff55c339e8 Merge origin/main (f9f3ec4c6) into the carry of #2029
Current main after #2566. New conflict on top of the earlier carry merge:
runtime/shims/d3d12_xs_alloc_size.h, align_up_saturating: main (#2027)
returns value when to == 0, the PR when to <= 1; for to == 1 the rounding
formula gives value as well, so both agree; the PR's guard and comment kept.

Co-authored-by: Ilyass Roussi <76879547+IlyassRS3@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:31:48 +01:00
30857b8b72 Merge origin/main (f9f3ec4c6) into the carry of #2016
Current main after #2566. New conflict on top of the earlier carry merge:
runtime/CMakeLists.txt: main added the title_frames, title_mirror_hooks and
title_heap tests at the place of the PR's value_write_sink test; all kept,
the PR's test after main's.

Co-authored-by: abnalstlll-byte <284980532+abnalstlll-byte@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:31:35 +01:00
696e728777 Merge origin/main (f9f3ec4c6) into the carry of #2085
Current main after #2566. New conflict on top of the earlier carry merge:
runtime/test/geometry_views_test.cpp, header list: main added case 17 (the
command-list-epoch guard); the PR's two cases, numbered 17-18 in the earlier
carry merge, become 18-19 (header and the comments at the cases).

Co-authored-by: BubsMcgee <203599835+BubsMcgee@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:31:07 +01:00
f474c74b04 Merge origin/main (f9f3ec4c6) into the carry of #2174
Current main after #2566. New conflict on top of the earlier carry merge:
tools/rdna2spirv.py, _translate (straight-line and CFG paths): main passes
extra=meta_extra to _shader_meta.collect and reads the literal samplers
after it; the PR's g.note_pops_word(insns) runs right after that block,
before fit_shared_memory / needs_barrier_rounds as before.

Co-authored-by: QemmHD <290605352+QemmHD@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:30:43 +01:00
de2acaf955 Merge origin/main (f9f3ec4c6) into the carry of #2362
Current main after #2566. New conflict on top of the earlier carry merge:
docs/design.md, DPP row: main rewrote the absent-lane part of the row
(present-lane ballot for FI=1); main's text is kept and the PR's sentence on
Gen.dpp_insn forwarding neg/abs is inserted at the same place as before,
after the HW-DPP-NEG-INVALID-LANE sentence.

Co-authored-by: ShotTechOp <95485630+ShotTechOp@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:30:06 +01:00
1d4dc90ea0 Merge origin/main (f9f3ec4c6) into the carry of #220
Current main after #2566. New conflict on top of the earlier carry merge:
runtime/shims/d3d12_vulkan_device.cpp: main added a three-argument
bind_title_image overload where the PR adds valid_shader_4_component_mapping;
both functions kept.

Co-authored-by: justr4mzi <243612488+justr4mzi@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:29:51 +01:00