- run_hw: a failing hypothesis op counts as a mismatch (exit 1) and in hyp_only;
--minimize marks the hypothesis ops that remain
- Oracle startup probe: a wave64 kernel must see lane 32 as 32, a wave32 kernel
as lane 0 of the second wave
- test_on_hardware also asserts rejected == 0, no mismatches, no hyp_only
- --keep / --minimize write hw_lines() for hardware failures
- docs: where the permlane FI=0 (#374, #580) and DPP8 (#238) hypotheses come from,
and the re-run table (24,000 programs, hyp_only 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rcp/rsq/sqrt/sin/cos f16 ignore the rounding mode (always nearest even); v_fma_mix{lo,hi}_f16 toward zero rounds the exact fma once (round-to-odd f32 from the product/sum residual, then truncate); the v_add_f64 omod test no longer claims an omod order (omod vs denormal mode is unmodelled, noted in design.md). Tests with the measured words.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the one CVehicleDistantLightData document in common.rpf: 1,980
recipes for 319 vehicle models, all of which exist as .yft (with _hi
variants) in the archive catalog; secondary recipe tokens; and no stored
light data (every lights list is empty). No names or values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Set 0's 2D, sampler and storage arrays were constexpr (4096 2D images, 1024
samplers, 256 per storage array): one full D3D12 sampler heap (2048) did
not fit and bind_image/bind_sampler fell back. They are now sized once, when
the device creates the set, from the update-after-bind or plain limits:
today's sizes as the floor, then samplers up to min(4096,
maxSamplerAllocationCount - 64), 2D images up to 65536, storage up to 4096.
Sizing at creation keeps the set layout fixed for the pipelines built on it.
Counts over the one CustomClouds document in common.rpf: 26 groups, 630
clouds at absolute world x/y (groups all at 0,0), cloud types as boolean
flags, CoverageMinMax as a world-unit radius range, signed rain/fog/density.
No values or names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over FogVolumeProfileList (43 profiles) and
CScatteringTransmittance__FogVolumeListData (14 volumes) in common.rpf:
profile indices are list positions, the stored matrices are identity and
omit Scale, and half the volumes sit at the origin. No values or names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CVehiclePoints (32) sits between the 49 modifier and 27 keyframe documents in
the root table. Spotted in review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in tools/rdna2spirv.py (f16_out keeps main's fract flag and narrows with f16_res; v_interp_p2_f16 keeps main's clamp and narrows with f16_res; v_fma_mix goes through main's f16_out) and docs/design.md (main's new rows kept, our f16 rounding and Known approximations rows kept).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs each FUZZ-7 program natively on the AMD GPU in wave32 and native
wave64, with its real group size and EXEC setup, every thread storing its
14 words, and compares them with the model. hw_oracle gains raw kernels
(own stores), per-kernel workgroup size and wave64 code objects; the
launcher takes name:threads:words tokens.
24,000 programs on gfx1150: 0 mismatches; the permlane FI=0 and DPP8
inactive-source hypotheses hold on the hardware too. Translator mismatches
all trace to masks read as data (#293) and permlane (#580).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the one CGraphicsDefinitionsData document in common.rpf: seven
keyed sections, canned colours as 8-bit RGB with w = -1, and which lookups
resolve to which section (all dirt colours resolve to the canned table; one
weather selects a ped dirt preset). No values or names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the four GridAtlasInfo documents in common.rpf: width/height are
world units over a 512-unit tile (32 x 66 tiles, matching the sector span),
and origin is the grid centre (99.83% of map placements inside, and the same
minimum x as the PAMH heightmap). No names or values beyond the shared
geometry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
world_build placed every model at its own coordinates or in rows; it never read the CEntityDef records.
- world_index.py --entities-out writes one JSON line per complete entity: archetype hash and 64-bit key,
position, stored rotation, scales and LOD fields.
- world_build.py --placements matches each selected entity to an exported model the way world_names.py does
(lower-cased joaat of the manifest name, confirmed by the Murmur3-64 key when the row has one). It then
scales by (scaleXY, scaleXY, scaleZ), rotates by the conjugate of the stored quaternion, translates and
converts to glTF Y-up. Normals use the inverse-transpose; a mirroring scale flips the winding.
--lod-levels (default 0,5) and --region select the entities. world.json reports the count of each outcome
in stats.placements.
- tests/test_world_place.py: 15 synthetic tests.
- docs/world.md: "Building a placed world", with measurements on a 700 m downtown box.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the one ShoreWavePlacementData document in common.rpf: 434 open
polyline patches with 7,839 control points, unit wave directions across the
line, constant per-point amplitude, five wave types. No values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the one CContentsOfWeatherXmlFile document in common.rpf: 25
weather datas named after the 25 full timecycle documents, 168 weather types
that each resolve to one of them, and which Mod* tags resolve to their lists.
No values or names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the 27 timecycle_keyframe_data and 49 timecycle_modifier_data
documents in common.rpf: 13 values per keyframe variable, two regions with
the same variable order, plain versus axis-driven modifiers, and by-name
submodifier references. No values or names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shaders that build an S# from immediates look it up through the descriptor
hash probe like any other S#, but nothing registered those keys, so they
sampled through the fallback nearest-clamp sampler. register_samplers runs
CreateSampler's path (decode, VkSampler, key in set 0) for each S# without
a heap slot; the call at pipeline creation comes with #291's shader index.
Two new format pages, both measured over the user's own copy with no payload stored.
docs/coder.md - the 51.5 MB compressed mass in story000_script.rpf. Two interleaved
populations (105 zlib blocks, 767 unidentified). Entry framing is
u16 tag + 6 header bytes, zero pad, payload at align16(entry+8) - confirmed 10/10 on
pad length and %16 alignment, which is why earlier scans that assumed the entry start
found nothing. A 32-value tag alphabet that correlates with nothing. The payload is
deflate-shaped but proprietary (popcount correlation +0.632 against zlib-9's +0.676,
plane bias +0.0083 vs +0.0138; lzma -0.065 and bz2 -0.432 are excluded, and AES is
excluded by the ~40 sigma plane bias). Codes are variable-length and LSB-first: 7 and 8
bit lengths measured from the bit spacing of single-symbol runs. No table is stored, so
the symbol->length array is static in the executable; the Kraft constraint narrows it to
a 129-140 byte vector of 7s and 8s, most likely n7=116 + n8=24.
docs/mission_logic.md - the mission containers are state machines, not instruction
streams: 32-byte records keyed by joaat, 40,804 of them across 2,309 containers. Records
the details that cost a false start (the band field is a counter, not zero; offsets are
file-absolute for most records), the 64-byte pool element carrying world transforms, the
case-folding behaviour of joaat (340/340 folding vs 91/340 case-sensitive, so lookups must
fold), and the flow shapes. 113 identical-state-set clusters cover 82.4% of the files, so
naming one cluster names dozens of files.
docs/README.md gets both rows.
- LEONIDA_HIP_DLL is now passed to the launcher and loaded
- an all-rejected chunk is a RuntimeError (harness error), not skips
- -1 and 0xffffffff count as one literal; clang is no longer found by
globbing */.venv under the cwd (env, PATH, HIP_PATH, ROCM_PATH, repo .venv)
- s_bfe past bit 31: say "analogous to LLVM's v_bfe fold", rule rests on the
gfx1150 measurement; contract row in docs/design.md; Linux/ROCm note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 36 roots whose second system page is not the next listed stream have it
right after the first stream: a zlib stream inflating to 16-48 bytes, which
anim_index.py does not list (it keeps streams of 64 bytes or more), or a
16-byte raw page. group() now tries that page and joins it only when the
pages parse as a clip dictionary. All 36 join; 191,042 animations decode.
.motion clips list their children as {u64 0; u32 clip hash; u32 dictionary
hash} at +0x60, and the root's hash-only +0x70 references are dictionary
hashes. scan() joins both across the archive: 111,948 of the 114,925
children whose dictionary is in anim.rpf name a .clip of it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MIN and MAX of either plane, and AVERAGE of the depth plane when Format is
the plane's own format, as the PC runtime accepts them (RTX 5070 and WARP).
Each resolve is a vkCmdBeginRendering scope with no draws: the MSAA plane
is the depth or stencil attachment and the destination plane its resolve
target, checked at record time against D3D12's rules and the device's
supported resolve modes. Colour resolves are unchanged.
v_add_nc_u16 / v_sub_nc_u16 (and the v_add/sub/subrev_u16 e64 names) with
the VOP3 clamp bit wrapped at 16 bits; they saturate to [0, 0xFFFF], as the
32-bit v_add/sub_nc_u32 clamp already does. Clamp on any other 16-bit
integer op is now Unsupported rather than ignored.
A d16 image_load skipped the T# FORMAT branch the 32-bit load uses and
always read the float sampled view, which integer images are never bound
to, so a min16uint/min16int Load returned garbage (sint texel 14774 for
129 on an RTX 5070). d16 loads now go through image_load_typed and pack the
dmask components two per VGPR: f16 from the float view, the 16-bit integer
(truncated) from the uint/sint views.