Commit Graph

5744 Commits

Author SHA1 Message Date
92152f3fed docs/progress_dashboard: four statements the tool does not match (ASSET-379)
- UNKNOWN: no status comes from git failing to say what changed; a unit-test
  file is UNKNOWN when every case in it skipped (collect_unit), CTest and
  JUnit rows when skipped.
- Only the CTest log and CTest-flavoured JUnit reports are age-checked;
  a pytest report is always current (collect_ctest, is_ctest).
- The trend chart draws the first eight metric IDs only (trend() in
  progress_dashboard.html), alphabetical in the snapshot JSON, so with every
  source the three test metrics are not drawn.
- --github reads the coordination issue's section sizes on every run, not
  only with --login; --login lists the account's 50 latest pull requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:30:45 -05:00
a744fa8ab1 d3d12: SYNC_COPY waits for the CLEAR stage too (D3D-838)
An enhanced barrier's D3D12_BARRIER_SYNC_COPY mapped to VK_PIPELINE_STAGE_2_COPY_BIT only. Two D3D12
copy-scope commands are not Vulkan copies: WriteBufferImmediate is recorded as vkCmdUpdateBuffer and
ResolveQueryData's never-written queries as vkCmdFillBuffer, and synchronization2 runs both in the CLEAR
stage. A SYNC_COPY barrier after either therefore did not order it, and a copy after the barrier could read
the word before the write landed.

vulkan_sync now maps SYNC_COPY to COPY | CLEAR. vk_command_replay_test part K records WriteBufferImmediate,
a SYNC_COPY -> SYNC_COPY buffer barrier and a CopyBufferRegion of the written word; under
LEONIDA_VK_VALIDATION=1 it is a read-after-write hazard without this change. d3d12_state_map_test and
docs/d3d12_vulkan.md follow the new mapping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:28:34 +03:00
1112e3bd29 docs: one meetox80/6stars entry in related projects (DOC-RELATED-6STARS-DUP)
docs/related_projects.md carried the 6stars entry twice, a merge
leftover. Merge the two into one entry in the file's usual layout,
keeping every fact from both: the CEntityDef/PRD0/navmesh
corroboration, the hypotheses, the rpf.md/world.md re-measurement,
the navmesh labels that did not reproduce and the +4 packing.
No other change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:26:58 +01:00
aa8be9aef2 Integrate the offline first-run UI runtime with current main and the published renderer fixes
Use the tagged pipeline variants and indexed quad expansion from #722 and #682 with the shared shader cache. Retain title-backed index uploads, cross-queue scratch sharing, amd64 console return conventions and the PC/console caller discriminator. The local shader build indexes native containers and includes the executable's embedded stages.
2026-11-24 21:26:25 +08:00
22b8d28524 docs/linux.md: clarify Vulkan header fetch fallback when system headers absent 2026-11-24 14:25:12 +01:00
2e4ef18d85 docs/bvh.md: the BVH4 parent table's start and extent (BUILD-1390)
offsetToParents = 0x40 - (((offsetToNodes - offsetToElements) / 16) & ~127),
so the first box node's entry lands in [0x40, 0xc0); one entry per box unit
follows, and offsetToElements is their end rounded up to 128. The bytes
from 0x40 to offsetToElements are zero. Holds on all 272,874 streams of
core_bvh4.rpf and shared_minigame000_bvh4.rpf (272,858 box roots for the
extent); counts only.

totalSizeIn64BNodes + 1 also counts the level table's units, which have no
entry: that is why the header-only end missed on about 13,400 streams.

tools/bvh_packing_check.py checks the three rules (parent_offset,
parent_area_nonzero, parent_extent); the synthetic fixture moves to the
console layout for its four leaves and three BOX16 units.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:24:55 -05:00
db19bbd345 runtime: connect native pipelines and title resources to the offline first-run UI
Build on the public frame-loop integration in #321. Carry the texture-view and depth work from #213 and #261, the layout provider from #461, the responsive window from #526, and the rectangle generator from #682. Integrate the Xbox constant-buffer row addressing measured in #513 and the draw-time rectangle selection in #722. Keep all fixtures synthetic.

The Windows GPU path resolves title-owned shader objects, retires geometry uploads per submission, materializes texture views on use, maps linear surfaces, and delivers completed GPU label writes. A first-run UI launch selects the tested settings for these paths.
2026-11-24 21:19:30 +08:00
5d883298ed docs/textures.md: the TTPF pools hold no name streams (BUILD-1368)
BUILD-1368 asked to index two name streams, a `nameTable` of 64-byte
records and a `nameData` of ASCII strings. Measured over all 57 pools,
neither exists: every byte of a pool is header, chunk table, ETPF
descriptors, u64 asset keys, trailing metadata that reads as uniform
random bytes, zero padding or texture data, and the virtual space has
no range left for another stream. The names do not occur in the pools
or in the inflated streams of common.rpf, script.rpf and data.rpf
either. Counts only; the trailing bytes stay unread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:19:13 -05:00
be767b6889 Integrate #682 for the Windows first-run UI 2026-11-24 21:17:26 +08:00
3c7927ea26 Integrate #526 for the Windows first-run UI 2026-11-24 21:17:25 +08:00
65b8569bbc Integrate #461 for the Windows first-run UI 2026-11-24 21:17:13 +08:00
abed2e1938 Integrate #722 for the Windows first-run UI 2026-11-24 21:17:13 +08:00
c868b1ccfd retail_boot_chain: the Wine-only gameinput.dll ordinal 1 stop after the TLS stop (PROC-408)
Under Wine the retail boot stops at GameInput.dll ordinal 1 (GameInputCreate)
right after stop 4: without the SDL3-built GameInput shim and its #1 alias, the
import binds to Wine's builtin stub. Measured by hcristosm in the old
coordination issue. Added as row 4a so the Windows stops keep their numbers.

Restored from old upstream PR 7383 and updated for #127, which merged the #1
alias (old upstream PR 7216's change): the "what clears it" cell now names #127
and says which builds still stop here (no SDL3, LEONIDA_SDL3=OFF, the cl.exe
fallback), and the link into the old repository is replaced by the measurer's
name and #127's Wine 11.21 reproduction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:14:36 -05:00
ed5ed7afe4 Translate VCC used as the address of a scalar memory load 2026-11-24 21:12:08 +08:00
8e2f3f618f Integrate the storage-image translation rules from #213
The corresponding runtime views are assembled with the other first-run rendering dependencies.
2026-11-24 21:11:46 +08:00
b398993940 Integrate #281 for the Windows first-run UI 2026-11-24 21:10:58 +08:00
adbbe73d3d Integrate #593 for the Windows first-run UI 2026-11-24 21:10:58 +08:00
721e530fa6 Integrate #596 for the Windows first-run UI 2026-11-24 21:10:57 +08:00
831584b21a Integrate #497 for the Windows first-run UI 2026-11-24 21:10:57 +08:00
2d73c242fd Merge pull request #607 from TuroYT/docs/index-missing-pages
docs/README: index dev-tools, cpu_features and directstorage (DOC-INDEX-MISSING-PAGES)
2026-11-24 08:10:27 -05:00
a1ac6ff2b1 Merge pull request #666 from LouisRiverstone/carry-old-9929
docs/design.md: one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows (OLD-9929)
2026-11-24 08:10:23 -05:00
6a2cb10a04 Merge pull request #554 from Puttergilll/docs/gpu-result-instructions
docs: fix GPU result submission instructions
2026-11-24 08:10:19 -05:00
c55ecc9cbf d3d12: expand rectangle draws through triangle-family pipelines
Select the geometry-stage variant when the input assembler requests an Xbox rectangle and cache it alongside the attachment-format variants. Keep a shared snapshot of the linked vertex program for that draw. Exercise alternating rectangle and triangle draws through the same PSO and compare the complete target after each switch.
2026-11-24 20:49:20 +08:00
0cbc40239b world_lights_paths: read pool references through world_index.split_pointer
Meta.ref took the block number from bits 0..11 and refused any value with
bits 12-19 set as a pool reference, so a pointer to block 4,096 or above
fell through to the system-pointer path. Those bits are the high bits of the
20-bit block number. The guard did not screen system pointers either: with
fewer than 4,096 blocks, a value with bits 12-19 set has a 20-bit block number
above the block count, so it still reaches the system-pointer path.

Over levels.rpf (188,449 0x7a resources, 8,576 with lights) the summary is
byte-identical with the old and the new decoder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:49:18 -05:00
9898deecbb instance_lists, world_interior_names: read the block number from 20 bits, as world_index and psin_data do
A 0DRP/PSIN pool pointer keeps the 1-based block number in its low 20 bits
and the byte offset above (docs/psin.md, docs/ped_catalogues.md, psin_data).
instance_lists and world_interior_names masked 12 bits, as docs/world.md
said, so a block number of 4,096 or more would have been read as a wrong block.

world_index.split_pointer is now the one decoder for the three tools, and
docs/world.md gives the 20-bit form. Over the 0x7a resources of levels.rpf,
story000.rpf, shared_minigame000.rpf and packs.rpf (232,846), the most blocks
one has is 1,760, and every non-null 0x52 array and 0x42 string pointer has
bits 12-19 at zero, so the counts the tools report don't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:49:18 -05:00
51f3160923 Merge pull request #590 from JiyouProt/codex/gpu-valu64-shifts
tests: GPU readback for dynamic 64-bit vector shifts (GPU-VALU64-SHIFTS)
2026-11-24 07:47:23 -05:00
396159f9c3 Merge pull request #667 from LouisRiverstone/carry-old-9933
docs/design.md: one copy of each rule in the 16-bit interpolation without PerVertexKHR row (OLD-9933)
2026-11-24 07:43:34 -05:00
916dbc619d d3d12/vulkan: the mesh statistics pool enables no forbidden counter (D3D-291) 2026-11-24 12:35:29 +00:00
1bb23a2803 d3d12/vulkan: a mesh segment's clipping invocations come from a mesh-primitives query (D3D-MESH-CLIPPING-COUNTER)
Where the device has the meshShaderQueries feature of VK_EXT_mesh_shader, the number of
primitives the mesh shader emitted comes from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT
query run around each mesh segment, and it is added as the clipping invocations of that
segment. CPrimitives stays 0: Vulkan has no clipped-primitive counter, and D3D12's
CPrimitives is the clipper's output.

Claim: D3D-MESH-CLIPPING-COUNTER
Depends on: #540
2026-11-24 12:35:29 +00:00
1f88b25d9a ws2_offline: loopback-bind unbound sends, refuse multicast joins and WSAJoinLeaf groups
Closes the gaps from the security review on #357:

- sendto, WSASendTo, WSASendMsg (both exports) and WSAJoinLeaf on an
  unbound socket made the host bind it to the wildcard address
  (Microsoft's sendto remarks), so its port took datagrams from other
  hosts. The shim now binds such a socket to 127.0.0.1, ::1 or
  ::ffff:127.0.0.1 first and fails with WSAEADDRNOTAVAIL if it stays
  unbound.
- setsockopt (ws2_32 name and #21) refuses IP_ADD_MEMBERSHIP,
  IP_ADD_SOURCE_MEMBERSHIP, IPV6_ADD_MEMBERSHIP, MCAST_JOIN_GROUP and
  MCAST_JOIN_SOURCE_GROUP with WSAEADDRNOTAVAIL. wsock32's setsockopt is
  its own export (dumpbin on Windows 10 22H2: not a forwarder) that remaps
  the Winsock 1.1 IP_ numbers (Wine dlls/wsock32/socket.c has the same
  table), so it gets its own wrapper that also refuses the 1.1 join (5)
  and forwards everything else to the host wsock32.
- WSAJoinLeaf gets connect's loopback check, so a group is refused.

Tested: ws2_offline_test 71 checks, 0 failures, MSVC 14.44 / SDK
10.0.26100 on Windows 10, including a control check that the host sendto
alone binds to 0.0.0.0; docs tests 47 passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:19:38 -03:00
0a5c8d56eb d3d12_device_calls: summary counts calls and tail jumps apart; wording; tupacfan04's open points (old upstream PR 7998)
BatSmacker84 on old upstream PR 7998:
- The summary line now separates indirect vtable calls, indirect vtable tail jumps, and sites
  through a verified dispatch routine. The JSON gains calls, tail_jumps and dispatch_sites. On the
  1.0.2.1 executable: 95 sites = 94 calls + 1 tail jump (slot 2), 0 through a dispatch routine.
- "lists every" and "lower bound" are gone from the docstring, the help text and §5. The tool reports
  the statically resolved sites for the device paths it follows; a slot without a row isn't shown
  to be uncalled.

tupacfan04's secondary points from the review of the dispatch-routine commit, still open until now:
- A creator out-pointer in an object member was labelled "memory slot", yet it was dropped at the
  next call. It is now "object member (followed until the next call)"; a stack slot is "stack slot".
- The no-.pdata window walk is tested, and it now goes on past a ret while a forward branch target
  is still ahead.
- Conditional branches have tests: the device carried past an early return, and a join where only
  one path holds the device.

Census unchanged: 95 sites across 42 slots, 12 not resolved. 15 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:16:30 -05:00
c9013c0af1 d3d12_device_calls: a jmp within the walked function is a branch, not a tail call (review of old upstream PR 7998)
Every E9 was a tail call, including the `jmp rel32` MSVC emits for a long branch inside a function.
With the device in an argument register, such a jump counted as the device passed to another call,
it cleared the state, and it ended a window walk early (YordiLorenzo, pr-sorter). Slot 14 dropped out
of the fixture with pr-sorter's patch.

The walk now follows forward branches. A `jmp` (E9 or EB) or a conditional branch to a later
address in the walked range carries the known state to its target. There it is met with the
fall-through's state, keeping a fact only when both paths agree (vtable loads from either path are
merged). Past a `ret` or unconditional jump, the carried state replaces it. A jump back into the range
(a loop) carries nothing and isn't a tail call. Only a `jmp` out of the range is a tail call.

pr-sorter's repro is a test, together with the short form and a backward jump.

Census on the 1.0.2.1 executable: 83 -> 95 sites, still 42 slots, with no site or slot lost. 12 more
sites are behind a conditional branch around an early return: slot 17 (+5), slot 24 (+5), slot 133
(+2). Not resolved stays at 12: vtable loads with no matched call 2 -> 1, calls handed the device
9 -> 10, stores 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:16:30 -05:00
ff4392ef70 docs/retail_boot_chain.md §5: the census reads the executable only; TreXito's call shapes for unnamed slots
From the two independent checks on old upstream PR 7998:
- The tool reads the executable only, so a slot called only from a bundled DLL is absent. Slot 76 is
  the example: docs/d3d12_vulkan.md records the FidelityFX upscaler DLL calling it, so its absence
  is not "unused by the title" (TheAirborneCoder).
- A credited table of TreXito's independent static read for slots 49, 50, 55, 57 and 81, with
  matching site counts. These are their reads, not the tool's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:16:30 -05:00
117d6b2c5a d3d12_device_calls: count a method in rax only through a verified dispatch routine (review of old upstream PR 7998)
A direct call with a method pointer left in rax was counted as that slot whatever the call reached,
so a helper that only returns made a slot appear (shdann's repro on old upstream PR 7998). The target, or for
`call [rip+p]` the code the file's pointer p holds, must now reach `jmp rax` or `call rax` within 16
instructions without writing rax, calling or returning first (conditional branches allowed): the CFG
no-op dispatch and a guard check that ends in `jmp rax`. Verified targets are cached. Any other
target goes to a new "dispatch calls to unverified targets" count, never a slot.

The fixture's GUARD pointer now holds a `jmp rax` stub; new functions call a guard-check stub (slot
counted) and a helper that only returns (not counted, reported as not resolved), and shdann's patch
is a test. The census on the 1.0.2.1 executable is unchanged: all 83 sites are `call [vtable+disp]`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:16:30 -05:00
d13044b778 d3d12_device_calls: count the ID3D12Device slots the executable calls, from the file alone (RT-566)
tools/d3d12_device_calls.py follows D3D12XboxCreateDevice's (or D3D12CreateDevice's) out-pointer to
the globals and stack slots that hold the device, and counts per vtable slot the `mov v,[device]` then
`call [v+disp]` / `call reg` / dispatch-with-rax sites, with the register that holds the device (rcx,
or rdx for the console's return-buffer form) and an argument-count estimate. What it can't follow
(vtable loads with no matched call, the device handed to other functions or stored to non-stack
memory, creator out-pointers it can't follow) is counted, not guessed. Slots 0-43 carry the PC
method names; past 43 only the slots the repository has measured are named.

The text report holds slot numbers and counts only; --out is required. Tested on a hand-built PE
(tests/test_d3d12_device_calls.py); docs/retail_boot_chain.md §5 has the method and its limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:16:25 -05:00
b4485f9705 docs/gpu_test_results: record the AMD Radeon 660M (RDNA2 iGPU, Windows 11)
build.py 280/280, check.py 213/219 (4 skipped, 2 failed), run_gpu_tests.py
223/248 (23 skipped, 2 failed) on main 21625bc, native and emulated alike.
The two failures are the tfe pair (#31); both pass with #291.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pRhqKwVhndiVZH8fawThh
2026-11-24 12:10:55 +00:00
de8cb53d54 file_system: RemoveDirectory and a create inside the folder are ordered as on the host
Restores old upstream PR 9215 in ItsNotRexed/Leonida (closed unmerged when that repository went private), ported
onto the current main: the write-open keeps main's long-path disk_path() for its overlay path, and the new race test
sits after main's tests that recreate a removed package folder.

A GAME: write-open checked that its folder exists, mirrored it into the overlay and then opened the file, and
RemoveDirectory checked that the folder was empty and wrote its marker, neither under a lock. A remove that ran
between the open's check and its host CreateFile succeeded on an empty folder, and the open then made the folder
and the file again: both calls succeeded and the removed folder was back. CreateDirectory of a folder inside it had
the same gap. On Windows one of the two fails: the create with ERROR_PATH_NOT_FOUND or the remove with
ERROR_DIR_NOT_EMPTY.

A striped lock keyed by the folder's upper-cased name (64 namespace-scope std::mutex, no function-local static):
write_target holds the lock of the folder it opens in from the parent check until the Target is gone, after the
host CreateFile/CreateFile2; CreateDirectory holds the parent's from its check to the host call; RemoveDirectory
holds the folder's from its view to the marker. Reads take no lock.

file_system_test races the two calls on two threads, 2,000 rounds each for a creating CreateFileW (CREATE_NEW,
CREATE_ALWAYS, OPEN_ALWAYS) and for CreateDirectoryW, and checks that they never both succeed, that the loser
fails with the host's error and that a removed folder stays removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:05:40 -05:00
1d37e033eb file_system: reserve T:'s folder with a create-only call, never reuse one
Xiiano's review of old upstream PR 8161: the folder name (start time to
the millisecond plus process id) is not guaranteed unique, and earlier
runs' folders are kept, so a reused id in the same millisecond would
land in a stale folder and bring ERROR_FILE_EXISTS back. Under Wine
every fresh run gets the same small ids (both run_tiny_game_dir runs
here were pid 32).

rt::fs::reserve_unique_dir(base, stem) makes base\stem with
CreateDirectoryW and takes success as ownership; on ERROR_ALREADY_EXISTS
it tries stem-2, stem-3, ... up to 1000 names, and fails with the Win32
error otherwise. T:'s folder is reserved once per overlay under a mutex
(the first T: call or rt::fs::scratch_dir(), which the startup line
calls), so concurrent first calls share it. A failed reservation is
printed once and T: paths fail with ERROR_INVALID_NAME.
rt::fs::scratch_stem() gives the first name tried.

file_system_test: with stem and stem-2 taken, reserve_unique_dir makes
stem-3, new and empty, then stem-4; a file with the next name counts as
taken; max_tries names taken fail with ERROR_ALREADY_EXISTS; a missing
base is made. T: with folders of this process's own stem and stem-2
already kept takes stem-3 and CREATE_NEW succeeds; eight threads making
their first T: call at once reserve one folder. The second-process test
stays.

Restored from old upstream PR 8161 and ported onto the new main: the
base folder and every candidate go through main's win32_io_path, like
the other creates in file_system.cpp, so a long overlay root keeps
working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 06:54:37 -05:00
297ad86854 file_system: T: is a folder of each process's own in the overlay
T:\ mapped to <overlay>\.gta6rt-temp, one folder shared by every run and
kept between runs. The title makes its crash dump and crash log there
with CREATE_NEW, and a name an earlier run (or a second process) had
left failed with ERROR_FILE_EXISTS (80), so no report landed (old
upstream issue 7913, measured by Spacecer2 under Wine 11.22).

T:\ now names <overlay>\.gta6rt-temp\<YYYYMMDD-HHMMSS-mmm>-pid<id>, the
process's start time in UTC and its id, made on the first T: call. The
start time keeps a reused process id (Wine hands each fresh prefix the
same small ids) out of an old run's folder. T:\.. cannot climb into the
shared folder, T:\ itself still cannot be removed or moved, and earlier
runs' folders are kept so their crash files can be read. GAME: and G:
are unchanged.

rt::fs::scratch_dir() returns the folder, and the startup line names it:
"console paths: GAME: -> ..., writes -> ..., T: -> ...". The two CMake
checks of that line (run_tiny_game_console_paths, run_tiny_game_dir)
and the synthetic test of the first now expect the T: part.

file_system_test: a CREATE_NEW of a name earlier runs left in
.gta6rt-temp succeeds and lands in the process's own folder; the folder
is stable for the process; a second process (the test started again)
creating the same name on the same overlay succeeds in a folder of its
own; GAME: reads and writes are unchanged. On main these fail with
ERROR_FILE_EXISTS (80), in this process and in the second one.

Restored from old upstream PR 8161 and ported onto the new main: the
folder is made through main's win32_io_path, so long overlay roots keep
working, and the scratch-folder check of the write-open path is kept.
Main's long-overlay T: check now finds scratch.bin in the process's own
folder below .gta6rt-temp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 06:54:36 -05:00
21fc4e857d Update GPU test results for NVIDIA GeForce RTX 5070
Updated test results for NVIDIA GeForce RTX 5070 in the GPU test results documentation, reflecting changes in pass and skip counts.
2026-11-24 12:51:46 +01:00
2bd97967ba d3d12: align standalone shader-addressable quad index buffers 2026-11-24 06:49:48 -05:00
558206bb09 d3d12_xs: pin that the root-signature flag mask keeps every public flag (old upstream PR 7140)
The shims clear bits 24-31 of a root signature's flags on every descriptor and RTS0 blob. Old upstream PR 7140 asks
to make that conditional on the blob's origin, since the retail executable's root signatures carry no 0x03000000
(one 1.1 description with Flags 0x80, and a decoder whose Flags is a 16-bit read). Every public
D3D12_ROOT_SIGNATURE_FLAGS value is in bits 0-11, so the mask can't change those descriptors and no behaviour change
is needed.

root_sig_public_flags_test pins it:
- the descriptor helpers (1.0, 1.1, 1.2, legacy) keep all 65536 flag values in [0, 0xFFFF], and an RTS0 blob with
  such flags is not rewritten;
- the registered serializer shims give the host's blob byte for byte for each public flag, 0x80 and all twelve, and
  the deserializer shim returns the host's flags;
- a blob with 0x03000080 comes back as 0x80 with a valid container hash and no other byte changed;
- static_asserts that no public flag is in kXboxRootSignatureFlagHighByte.

docs/d3d12_vulkan.md: the executable's answer to the open question, and why the mask stays unconditional.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 06:39:38 -05:00
f605f8aee4 rdna2spirv: put back the instructions llvm-mc's junk swallowed after a tuple into vcc
llvm-mc rejects a scalar tuple that runs into vcc and prints the second word as
junk. That junk is often longer than the word, so it also covers the instruction
after the tuple, which stayed missing and refused the program with
'fall-through into undecodable words'. The words after a restored tuple are now
decoded from the blob until the stream is back at a printed instruction.

Pipeline library of 1.0.2.1, 2,684 compute programs: 1,816 -> 2,567 translate
and pass spirv-val; the 1,816 modules are byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 12:30:46 +01:00
3b47391304 Update gpu_test_results.md 2026-11-24 12:29:13 +01:00
9cab24e7bf docs/design.md: one copy of each rule in the 16-bit interpolation without PerVertexKHR row
- docs/design.md: one copy of each rule in the 16-bit interpolation without PerVertexKHR row

Carried over from old-pr/9933 (old upstream PR 9933), rebased on main.
2026-11-24 08:19:40 -03:00
1918ab8eb0 docs/design.md: one copy of each rule in the Global atomics row (stitched again after old PR 3084)
- docs/design.md: one copy of each rule in the Global atomics row (stitched again after #3084)
- docs/design.md: fcmpswap is not in Global atomics' Still Unsupported list; it has its own row (@WALID1618Y on old PR 4879)

Carried over from old-pr/9923 (old upstream PR 9923), rebased on main.
2026-11-24 08:16:08 -03:00
608014ff91 docs/design.md: one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows
- docs/design.md: one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows
- docs/design.md: the pknorm NaN measurement once, in the Measured on RDNA2 sentence (@skorex on old PR 4899)

Carried over from old-pr/9929 (old upstream PR 9929), rebased on main.
2026-11-24 08:15:59 -03:00
4d470fd69b docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271)
- docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271)

Carried over from old-pr/9939 (old upstream PR 9939), rebased on main.
2026-11-24 08:15:59 -03:00
6b69d686a9 gpu-test-results: RX 7900 XTX (RADV), RTX 5060 Laptop and Arrow Lake ANV on Linux (GPU-7900XTX-ARL-5060L-LINUX) 2026-11-24 11:15:25 +00:00
d52ab6b5b3 d3d12_xs_device: map only the measured console list IID at slot 73
The slot 73 fallback retried every IID the PC device refused, so asking for
a public list revision the backend lacks (ID3D12GraphicsCommandList9 on a
revision-8 device) returned S_OK and a base list instead of E_NOINTERFACE
(review on #359). Only the console ID3D12GraphicsCommandListX IID
{c3827890-4024-474c-98cf-645b51dc4874} (#445) is now created as
ID3D12GraphicsCommandList, in one call, and the list proxy answers
QueryInterface for it. Every other IID reaches the device unchanged.

Tested: xs_proxy_mock (List9 and an unknown IID keep E_NOINTERFACE with a
null output; the console IID is created once and is queryable) and
d3d12_vulkan_device with MSVC 14.44 / SDK 10.0.26100; docs tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:15:02 -03:00