runtime.yml gets a macos job on macos-26: Homebrew's MoltenVK, Vulkan headers and
loader, llvm-mc, SPIRV-Tools and glslang; the runtime built through sccache; ctest
and run_gpu_tests.py on MoltenVK. ci.yml gets macos-python: the standard-library
loop, the semantic suite alongside it, and the pytest files with Homebrew's llvm-mc.
The hosted runner's Metal device is Apple Paravirtual device (family Mac2), which
MoltenVK runs on; KosmicKrisp finds no device there. macos-15 can't build the
runtime (Xcode 16's libc++ has no floating-point std::from_chars).
The two tests that fail on MoltenVK today, also on an M3 Max, are listed with the
pull requests that fix them (xdxr_build_check: #2423, ps_ssharp: #1845);
scripts/ci_expected_failures.py fails the step on any other failure and notes an
expected one that passes.
Review on #3834: an archive whose data offset pointed past its end was
scanned as an empty archive (exit 0). The tool now refuses a data start
outside 8..file size with exit 2. --out is compared with the inputs
through report_paths.same_report_path, as the other tools do. The
docstring and docs/navmesh.md now say that a polygon's height is the
mean of its vertex heights, and that surfaces above one another (a
bridge, stacked tiles of one sector) each add their plan area.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/audio_config.md gains the measured 16-byte event layout of AWC tag 0xBD,
whole-corpus counts and the event-type table (hashes and counts only).
tools/awc_markers.py reports those counts from an archive, a bank or a folder
of banks; tests/test_awc_markers.py covers it with hand-built banks.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SPIR-V leaves 1/0, InverseSqrt(x<=0) and Sqrt(x<0) undefined; the interpreter refuses them and a driver may return anything. The ISA results (rcp(+-0)=+-inf, rsq(+-0)=+-inf, rsq/sqrt of a negative=0xfe00) are now selected explicitly. The five test files no longer test a self-built model.
BlendMode splits the 14 common.rpf volumes exactly by placement (0 on the
7 world-placed, 1 on the 7 at the origin); IntExtMode is 0 in all 14 and
no volume lies within 100 m of any of the 2,280 InteriorNames points, so
its meaning stays a hypothesis.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run.log collected every line a title printed and nothing read it. The lines
now go to xcl_output.txt and leonida_output.txt in the work folder (named in
report.json), and Run keeps none of them. A test checks the transcript and
that Run has no log.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the full levels.rpf pass (1,116,073 streams / 188,449 pages / 465,611 q38 / 3,281 continuations, 17.7 min) and the finding that only 52,776 of its pages start the first q38 payload at +0x60. Restacked on #3388, which already carries the full data/nav/anim pass and the q28 parser fix.
Whether a v_fma_mix source with op_sel_hi and op_sel set reads the high
half of a 32-bit literal is what the previous commits rely on and no one
has measured. The probe tells the two readings apart (op_sel picks the
literal's half, or the literal is 16 bits with a zero high half) with
three cases where they differ and two controls, values made up and exact
in f32. The translator side runs the listing as llvm-mc prints it with the
real bytes next to it; the hw side puts the instruction's exact bytes
(.long, since LLVM's assembler can't encode the literal either) through
tools/hw_oracle on an AMD GPU. Exit codes as fma_mix_probe.py's. The hw
side has not run on any GPU yet: this machine has none.
tests/test_fma_mix_literal_probe.py: the hand-derived values, the
encodings, the translator side's reading, and exit 77 without hardware.
Measured on main aa2988cc with the v_fma_mix literal repair: 27 of the 29 programs
translate and pass spirv-val (26 without it), and the other 2 stop at the
v_dot4_i32_i8 word llvm-mc does not decode.
Conflict in tools/rdna2spirv.py assemble(): main added the x_round_fns
helper loop next to the old inline depth check. Kept main's helper loop
and this branch's capped_tree() call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d3d12_depth_resolve_test now takes D32_FLOAT_S8X24_UINT through the same cases
as D24S8: either plane by the depth-stencil format, the depth plane by
R32_FLOAT_X8X24_TYPELESS (MIN, MAX, AVERAGE) and the stencil plane by
X32_TYPELESS_G8X24_UINT, an R32G8X24_TYPELESS resource, and the refusals
(AVERAGE by the D32S8 format or of stencil). The readback tells a 24-bit UNORM
depth plane from a float one by format, not by "has stencil".
Every case also runs as an edge case: a triangle drawn over the cleared 4x
source with a depth-only PSO (depth 0.5, stencil 0x44 REPLACE, test ALWAYS)
leaves the pixels its diagonal edge crosses with samples that differ, so
MIN, MAX and AVERAGE reduce over different values. There is no CPU model of
the coverage: the layer must match the PC runtime byte for byte, and MIN and
MAX of each edge case must differ somewhere. The layer's VS is a GLSL stand-in
(test/glsl/vs_depth_edge.vert) behind a synthetic FSSM container; the host's
is HLSL compiled by d3dcompiler_47. Without glslangValidator the edge cases are
skipped and the summary says so.
RTX 5070 (621.01), Windows 11, validation on: 97 of 97 cases match the PC
runtime on the default adapter, 71 of 71 on WARP, 20 edge MIN/MAX pairs differ.
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pool.descriptor() gave asset_key_at None whenever the key sat past the record
area, which is where most of the array lives in retail pools: 28,666 of 357,115
entries over the 57 pools of a 1.0.2.1 install. TtpfReader.cs at the e293917
pin reads the key from the ID region in that case and refuses only a key split
by the boundary itself; mirror both. write_rds5_pool grows an optional area so
tests can build a straddling pool.
`--force-feedback` now reads the shim's output state once the poll thread has
picked the effect up, and says whether SDL created it and is running it, or why
it did not, so a wheel owner can tell a silent drop from a real run. The shim
records SDL_CreateHapticEffect's id, SDL_RunHapticEffect's result and SDL's
error text per device; gameinput_test asserts the success and the refusal.
AI-assisted
--texel-offset-fallback floored the LOD to choose the level whose size scales
the folded offset. A nearest-mip sampler reads ceil(lod + 0.5) - 1, so at
LOD 0.75 it sampled mip 1 with the offset in mip-0 texels. Read MIP_FILTER
(S# word 2 [27:26], literal or at run time): nearest rounding for point and 3,
level 0 for none, floor kept for linear, as the runtime's vulkan_sampler maps
them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured over the 29,727 two-number variables of the plain modifiers: the
second number is 0 in 88 % of pairs, the pair is not an ordered range, the
non-zero second numbers do not follow the first, and a 0 second number sits
outside the keyframe range of its variable in 17,041 pairs. The
endpoint-blend reading is therefore replaced by the measurement; what the
second field does when set stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/xcl_compare.py starts XCL's fake console executable under gta6rt --run
and under XCL, records each check's result, the unimplemented imports it hit,
and the thread stacks of a hung check (cdb), restarts after a hang with that
check skipped, and writes report.json; --gui shows the checks live. It holds
no XCL code: it only runs binaries from a separate XCL checkout.
docs/xcl_compare.md has the licence boundary, how to run it, and the first
result (XCL 50/50, gta6rt 5 pass, 43 fail, 2 hang), with each difference
mapped to an open item or recorded as a lead. Both hangs are the documented
deadlock of XTaskQueueTerminate(wait = true) from a manual queue's
dispatching thread, not a runtime bug.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- design.md: escape the literal pipes that split contract-table rows again, and merge the 76 repeated topics into
one row each (sentence by sentence; no number dropped).
- d3d12_vulkan.md: one milestone row per ID (the most complete of each), and LEONIDA_ARENA_LOG documented with the
arena high-water report (D3D-55).
- navmesh.md: one item 4 and 5 under Remaining unknowns (the +0xB8 footprint and octree-key wording).
- sandbox.md: name vk_sandbox's source file; i18n index: one pt-BR row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The one difference the check now repairs instead of refusing, its
conditions, where it was seen, that the game's clean listings have none
(the row's own count), and that the hardware behaviour is inferred.
main's G:/T: drives (4c52ce27) made a T: create build its parent folders and pinned
that in file_system_test. The folder-exists rule of this branch now applies to the
package view (GAME:, G:) only, so that merged behaviour stands.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review on #3809: the weighted formula holds on the 345 blocks with all four
parts above 10, not on all 504; the 24 blocks with an overall of exactly 10
are part of the 159 with a part at 10 (345 + 159 = 504); and the exports show
a minimum, not where the engine clamps. Wording only, no new numbers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The usage block showed 'rpf9dump models|textures', which is not a mode: the tool rejects it now that unknown modes fail, and it never ran as written. List the two commands.
docs/testing.md had the whole "GPUs with 128 bytes of push constants"
section twice in a row (identical), and the first copy had no blank line
before its heading. docs/embedded_shaders.md section 4 repeated the
"blocker then / now" table and the "disassembly count is unchanged"
paragraph after the remaining-blocker table. tests/test_skinned_glb.py
defined SkinnedGlbTest.test_full_export_without_numpy twice (identical),
so the first definition was dead.
The second copy of each goes; nothing else changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Carry the DXGI transfer function through alpha-weighted preview resizing. Keep RGBA8 quantization stable on dark ties and cover the PNG bytes for tagged and untagged textures (BUILD-1087).
collect answered ERROR_PATH_NOT_FOUND for any folder that is not one in the title's
view. The host tells a missing folder (3) from a file in the folder's place (267);
view() already knows which. Reported in review by shdann, with the host table.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three places where the shim disagreed with the host about GAME: paths:
- write_target created the parent folders before checking anything. A failed
OPEN_EXISTING left the missing folders behind, and a create succeeded in a
folder that was never made, below a package file (which then read as a folder)
and inside a folder the title had removed. The parent now has to be a folder in
the title's view, as CreateDirectory, MoveFile and CopyFile already require;
otherwise ERROR_PATH_NOT_FOUND and nothing is created.
- FindFirstFile inside a removed package folder returned "." and "..", and inside
a folder that never existed reported ERROR_FILE_NOT_FOUND. Both are now
ERROR_PATH_NOT_FOUND.
- MoveFile onto the same name, or to the same name in another case, failed with
ERROR_ALREADY_EXISTS. The first now succeeds and changes nothing; the second
renames the overlay entry (a package file gets an overlay copy under the new
spelling; a package folder is refused like any other move of one).
Two existing checks encoded the old answers and are changed: the test that made
GAME:\save\slot1.bin without making GAME:\save first, and the one that expected
ERROR_FILE_NOT_FOUND for a listing inside a missing folder.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
shader_meta only looks at a global_* whose base is an SGPR pair, and the corpus has none: its 10,548 global_*
instructions (530 shaders) address through VGPR pairs. The census now counts them, the s_getpc_b64 users and the
access kind of every untruncated site, and docs/d3d12_vulkan.md says that VGPR-held global_* addresses are, with
V# bases, outside what the count can see, instead of reporting "no global_* base truncated".
Co-Authored-By: Claude Opus <noreply@anthropic.com>