No VS or PS reads s[0:1] as an address (root_spill_census), so a 29..32-dword start-up signature may fit
each stage once a parameter takes SGPRs only in the stages it is visible to. The fallback now logs the
console-layout dwords per D3D12_SHADER_VISIBILITY and the per-stage sums, counts a retail run can report.
Keep block locations instead of copies of all Opus packets during discovery. Check the allocation regression and record the exact sample-count evidence for the skip and budget handling.
Co-authored-by: OpenAI Codex <codex@openai.com>
docs/d3d12_vulkan.md, docs/embedded_shaders.md and the index row in
docs/README.md said 51 of the 52 XboxBvhBuilder.dll programs translate and
one rule, buffer_store_short, was missing. The rule has been in
tools/rdna2spirv.py since 8f208d09a, and embedded_shaders.md section 7
already recorded 52 of 52 for main 8575d36e.
Measured on main 3aa975421 with a 1.0.2.1 package: 52 containers extracted,
52 translated, 52 pass spirv-val, natively and with --wave64-emulate.
- d3d12_vulkan.md: the eight passages that give the count (sections 4.8 and
7.2, the M6 row, open question 7, the risks list, Appendix A.2). Section
7.2 held the same paragraph twice, the second copy starting mid-sentence;
it is one paragraph again. The Appendix A.2 measurement keeps its numbers
and says what changed since.
- d3d12_vulkan.md section 3.6: pipeline-state streams (CreatePipelineState)
were described as not implemented yet, 50 lines above the section that
documents them; an unknown subobject type is E_INVALIDARG, not a logged
hard error.
- embedded_shaders.md: sections 4, 5 and 7 (the result table, the blocker
tables, "What this changes" and the build step's report line). The dated
measurements of 51 modules stay as they are.
Open question 20's row in d3d12_vulkan.md has the same count and is left
alone: pull request 381 rewrites that line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
One build can then compare the console layout with the layout used before it on the retail title, as the
#974 review needs (madhyn's frame-loop stack stops after 2 presents with the console layout, runs with
the PC one). Mesh draws are refused in that mode: a mesh shader translated with the root window reads
the console layout only. Compute is unchanged. d3d12_mesh_test checks both sides with one signature.
A pixel shader that needs derivatives starts with s_wqm_b64 exec, exec, and LLVM branches on wave-uniform conditions
inside that region as it does anywhere: v_cmp_* sN of scalars, s_and_b64 vcc, exec, s[N:N+1], s_cbranch_vccnz.
SHADER-10 took that for no lane vote only while EXEC was the launch mask, so here it was unsafe-vote-branch.
A compare of immediates and scalars is the same in every lane, so its mask is every lane of EXEC or none; the whole
quads of the launch mask have a lane in every 32-lane half that runs (a quad never straddles the halves). The analysis
carries "EXEC is the whole quads of the launch mask" as a dataflow fact, set by s_wqm_b64 exec, exec under the launch
mask and dropped by every other EXEC write. VGPR sources stay refused there, and so does a path on which a scalar was
read out of a uniform VGPR from a lane the launch mask may not have written.
Corpus (1.0.2.1, all 26,503, on top of SHADER-W64-SDST-PAIR): 452 pixel shaders go from tier C to A, none moves the
other way: C 7,741 to 7,289.
Tests: tests/semantic/test_wave64_halves_wqm_uvote.py; GPU fixture ps_w64_a_wqm_uniform_vote (RTX 4070 Ti, 620.70.06).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SHADER-W64-SDST-PAIR makes the SGPR a wave64 VALU instruction names for a lane mask the pair it is on hardware. Its
own test compares the two printed forms on the interpreter; this adds what it does not have.
cs_w64x_cmp_sdst is written like the game's listings (no mattr line, so llvm-mc prints one register): six compares
and a carry-out whose pairs are read back across both halves by s_and_b64, s_or_b64, s_xor_b64, s_andn2_b64,
s_and_saveexec_b64, s_mov_b64 exec, s_bcnt1 / s_ff1 and SCC. RTX 4070 Ti (620.70.06, subgroup 32) under
LEONIDA_W64_EMULATE=1: the eight words its header derives; main before the rule gave none of them.
docs/design.md gets the counts over all 26,503 shaders: every one of the 292,733 one-register compares in wave64
code names an even register, 13,314 wave64 shaders read such a pair back, the rule's full translation passes
spirv-val 26,503 of 26,503, and 504 wave64 VS/PS leave SHADER-10 tier C (8,245 to 7,741).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
One squashed commit of a fork that was developed on a Linux/Proton machine and
tested on two native Windows machines. On all of them the retail 1.0.2.1
package now launches, shows its launch movie, first-run pages and landing
prompt, runs the story load to its end with the loading slideshow drawing its
artwork, and enters the world phase. A first world frame is not verified yet.
docs/linux_proton.md has the setup, a healthy boot's timeline, the machines
and where it stops.
Runtime: frames in the title's own window; DirectStorage pinned reads,
page-list scatter/gather, BCPack and unshuffle with a locally generated
predictor file; pooled, device-local and deferred image backing for streamed
and placed textures; enhanced barriers into LAYOUT_UNDEFINED; a bindless table
that degrades instead of refusing a submission; a descriptor hash finalizer
(off until a library carries it); directly indexed heap offsets for compute
dispatches and VS/PS/GS draws; title buffer windows outside a fragmented
arena; opt-in device-local copies of streamed buffer views; write-fault
retries under the tracker lock, shared trackers and write-watched title memory
for native Windows; device-loss, compute-input and memory probes.
Translator: loop bounds at structured exits, the eight FidelityFX programs
that use a packed-dot form the disassembler skips, buffer bounds modes per
view kind, a compaction option, the hash finalizer option.
Tools and scripts: Linux boot scripts (Wine/Proton, no network), a Windows
boot script, the paired compute translation script.
No game data. AI-assisted (Claude Code and Codex agents), reviewed and booted
by people on the machines named in docs/linux_proton.md.
Co-authored-by: Plaaasma <47513553+Plaaasma@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merging.
**Why merged:** GPU record GPU-3080TI-61692: RTX 3080 Ti, driver 616.92, synthetic subset 81/97 native and 97/97 emulated, plus its row in docs/gpu_test_results.md. The file says plainly that it's a subset.
**Why it's good:** Docs tests: 47 passed. The full-suite numbers from the author's later comment (257/257 translated; 197/248 and 229/248, with the 2 known tfe failures) could go into the file in a follow-up.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 82a2aabcc. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main 32950551e: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or build/CI changes.
AI-assisted (Claude Code, Claude Opus 5.5).
Merging.
**Why merged:** OLD-5794: fixes the first-boot runbook in boot.md, and boot_trace now marks relocated modules in its text report. Oliwettoo checked the doc claims against the code ("Ship").
**Why it's good:** test_boot_trace plus the docs tests: 79 passed.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 82a2aabcc. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main 32950551e: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or build/CI changes.
AI-assisted (Claude Code, Claude Opus 5.5).
v_frexp_mant_f32, v_frexp_exp_i32_f32, v_ldexp_f32, v_frexp_mant_f64 and v_frexp_exp_i32_f64 are lowered with
integer ops on the float's words, and no fixture in runtime/test/shaders ran any of them.
cs_w32_frexp_ldexp is memory-fed, like cs_w32_shift64: check.py seeds 64 records of a binary32 value, an ldexp
exponent and a binary64 value, and each thread loads one at run time and stores the five results, v_frexp_mant_f32
with a neg source, and v_ldexp_f32 with an abs source run with the odd threads turned off. The records cover the
exponent clamp, overflow and underflow, binary32 denormals, binary64 subnormals on both sides of the dword boundary,
zeros, infinities and NaNs. The expected words come from an oracle written from the rows of docs/design.md, checked
against math.frexp and math.ldexp in tests/test_gpu_frexp_ldexp.py.
On an RTX 4070 Ti (NVIDIA 620.70.06) six words were wrong: every NaN source under neg or abs came back as
0x7fffffff, the driver's default NaN. The binary32 branch applied the modifiers as FAbs and OpFNegate, from which
Vulkan lets a driver return any NaN. The three ops only move bits, so the branch now reads its source through
Gen.src_u_sign_mods, as the min/max family does. tests/semantic/test_alu_frexp_ldexp.py checks that the modifiers
are emitted as sign-bit ops. With that the fixture's 768 words are exact on the RTX 4070 Ti and on llvmpipe.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CommandList::barrier(TextureBarrier) refused LayoutAfter = UNDEFINED from a
defined layout, so the list's Close failed. D3D12 allows it: the contents are
no longer needed, as before the memory is aliased. WARP closes such a list
(measured on Windows 11 26340 in #984), and #984 reports that the retail title
ends a depth buffer's use this way and takes the failed Close as fatal.
The rule goes. Vulkan has no transition into UNDEFINED
(VUID-VkImageMemoryBarrier2-newLayout-01198), so replay gives each piece a
barrier with oldLayout = newLayout, the layout the tracker has for it, which
orders the accesses and changes nothing in the image; the tracker keeps the
layouts. A piece that was never used gets no barrier and is not zero-filled
for it. The next barrier starts from UNDEFINED and discards, as before.
UNDEFINED -> UNDEFINED is not touched here: that is #600.
The barrier half of item 2 of the split proposed in #984, carried onto main
from Moriz82's integration branch (command_list.h, the emit change and the
command_list_test, replay_texture_barrier_test and d3d12_close_parity_test
cases), restricted to a defined LayoutBefore, with more cases and two GPU
tests added.
Tests:
- command_list_test, replay_texture_barrier_test (CPU): the recorded barrier;
kept layouts over mips in two layouts, with the discard flag and without a
tracker; an unused image released without a barrier or a zero-fill; the
barrier from UNDEFINED that follows.
- d3d12_close_parity_test: three enhanced-barrier rows (116 cases, 85 match).
- vk_command_replay_test part K (GPU): a colour target, a depth buffer whose
planes are in two layouts and an unused image released; the target used
again and read back.
- d3d12_com_test (GPU, D3D12 list and queue): a depth buffer cleared,
released, taken from UNDEFINED again, cleared and read back.
Co-authored-by: Moriz82 <72836413+Moriz82@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v_trunc_f64, v_ceil_f64, v_rndne_f64 and v_floor_f64 hand their source to the driver's double-precision Trunc,
Ceil, RoundEven and Floor. Vulkan lets a driver return any NaN for a NaN operand and, with no DenormPreserve for
64 bits, read a subnormal as zero, and cs_w32_round_f64 measured both: a signalling NaN came back quiet on an RTX
4070 Ti (NVIDIA 620.70.06) and on llvmpipe, and llvmpipe read the smallest subnormals as zero, so v_ceil_f64 of the
positive one gave +0. RDNA2 returns a NaN unchanged and keeps subnormals: that ceil is 1.
The two kinds of source are now selected with integer ops on the words, after the source modifiers and before the
output ones. A NaN's words pass through. A subnormal gives a zero of its sign, or 1 with its sign where the op
rounds that sign away from zero (ceil of a positive one, floor of a negative one). Every other source still takes
the driver's result.
cs_w32_round_f64 now compares all 1152 words exactly, on both devices. tests/semantic/test_f64_round.py runs the
four ops under a model of a driver that quiets a NaN and reads a subnormal as zero; without the change that class
fails for the signalling NaNs and for ceil and floor of a subnormal. The row in docs/design.md describes the rule
and how it was confirmed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A console DLL writes a command into the list object while it has room instead
of calling the vtable (docs/d3d12_command_objects.md §3.5a). The list proxy
avoids this today by pinning the cursor at its limit; an inline write the
title makes without checking first would be lost.
console_list_records.h decodes the measured records (the two dispatch headers,
root constants, descriptor table, root CBV/SRV/UAV, pipeline record) into the
fallback calls (slots 14, 80, 37, 39, 35, 41/43/45, 25), using a root-argument
header table this runtime defines. An unknown or truncated record stops
decoding with its offset instead of being skipped.
console_list_records_test models the DLL independently from the doc and runs
1,200 seeded sequences at six cursor limits: the inline path (replayed before
each vtable call and at Close) and the all-vtable path give the same calls.
Eight planted decoder bugs each fail it.
Not yet wired into runtime/shims/d3d12_xs_device.cpp (Windows-only, not
buildable here). No game files, no GPU.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restores the vk_pipeline_check / runtime Vulkan device cache-key parity fix from
ancestor commit c8a102d0cf (Senne Cools), which had been dropped in bulk merge
6dece9231, and extends it for NVIDIA Blackwell (RTX 5060, driver 621.24) + #577:
- Disable robustBufferAccess, scalarBlockLayout and robustImageAccess on
vk_pipeline_check's VkDevice to match create_vulkan_device_standalone.
- Always enable VK_EXT_mesh_shader and VK_KHR_maintenance8 when supported
(rather than only when selected shaders request them) and keep
meshShaderQueries as supported (matching #577 in d3d12_vulkan_device.cpp),
because NVIDIA hashes both into pipeline cache keys even for compute shaders.
- Restore and register the pipeline_cache_seed CTest with a self-contained
pipeline_cache_seed_test that embeds a minimal synthetic compute SPIR-V module
(no glslangValidator required) and runs vk_pipeline_check under its own exe
filename.
- Update docs/pipeline_check.md ("The cache and the runtime's device").
AI-assisted: yes
The translator gives the four ops to the driver's double-precision Trunc, Ceil, RoundEven and Floor, and no
fixture in runtime/test/shaders ran them, so what a driver does with ties, the largest value below 0.5, values at
and above 2^52, signed zeros, subnormals, infinities and NaNs had never gone through the GPU suite.
cs_w32_round_f64 is memory-fed, like cs_w32_shift64 and cs_w32_cmp_f64: check.py seeds 64 inputs and each thread
loads one at run time and stores eight results: the four roundings, v_trunc_f64 with a neg source, v_ceil_f64 with
an abs source, a v_floor_f64 whose destination pair overlaps its source pair, and a v_rndne_f64 run with the odd
threads turned off, whose destination must keep the pair it held. The expected words come from Python floats
(exact IEEE-754, the result keeping its source's sign) and are checked against exact rational rounding in
tests/test_gpu_round_f64.py.
Two kinds of input are judged by what Vulkan lets a driver do, not by RDNA2: a NaN may come back as another NaN,
and a subnormal may be read as a zero of its sign, since the module declares no DenormPreserve for 64 bits. That is
what the fixture measured: on an RTX 4070 Ti a signalling NaN comes back quiet, and on llvmpipe the smallest
subnormals are also read as zero. The row in docs/design.md records both as an approximation. dump_test takes an
optional judge for such a readback.
No translator or runtime change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
XG-SWIZZLE-LINEAR-PATH: record that XGSuggestSwizzleMode is only called with a NULL second argument and &desc->tileMode when byte 8 is 0xFF, that 0 is the linear mode, and where the consumers branch on it.
#741 added row 4a (the Wine-only gameinput.dll ordinal 1 stop) directly under row 4 of
docs/retail_boot_chain.md, which this branch edits. Both rows are kept unchanged.
tests/test_docs_*.py: 47 passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
Measured by madhyn on the retail title with this pull request (#974
review): one of its start-up root signatures is past the console's
inline graphics window (24 dwords from s8) and the compute one (28 from
s4), so CreateRootSignature refused it outright and the title stopped
with an unhandled exception before the frame loop it reached without
this change.
On the console such a signature goes to the argument block behind
s[0:1], modelled for compute only (ROOT-SIG-SPILL-MODEL, #1009). Until
it is for graphics, the graphics bind point keeps pack()'s layout for
it (from s0, two dwords per table), what the layer did before the
console layout, so no signature is worse off than on main. The new
RootArgumentLayout::graphics_console tells address() which layout the
table is in; a mesh shader still refuses such a signature.
d3d12_mesh_test: a 30-constant signature is created and DispatchMesh
with it invalidates the list.
The v_cmp_*_f64 / v_cmpx_*_f64 row of docs/design.md was CPU-checked and measured on native gfx1100, and no
fixture in runtime/test/shaders used a binary64 compare, so the SPIR-V those 32 ops translate to had not run on a
driver.
cs_w32_cmp_f64 is memory-fed, like cs_w32_shift64: check.py seeds 256 operand pairs, the product of 16 values
(+-inf, +-max, the 1-ULP neighbours of +-1, the smallest subnormals, +-0, the smallest normal, a NaN whose payload
is only in the low dword, a negative quiet NaN), and each of 128 threads loads two of them at run time. Per pair it
stores a v_cmp_ word (through VCC) and a v_cmpx_ word (through EXEC): one bit per predicate in opcode order, a bit
for tru run with the odd threads turned off (an inactive lane gets VCC 0 and stays off through v_cmpx_), and two
bits for lt and nge with VOP3 abs/neg. The expected words come from Python floats. Both GPU runners compare all
1536 heap words, the unchanged inputs included.
tests/test_gpu_cmp_f64.py checks, without a GPU, the oracle against an independent restatement of the 16
predicates, a few words worked out by hand, that the assembly gives every predicate the oracle's bit, and the
readback and runner verdicts. docs/testing.md describes the fixture and the row names it.
No translator or runtime change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
OLD-7699: restore old upstream PR 7699 - docs/multi_gpu_validation: the two recurring RDNA1 failures are Mesa bugs, not old upstream issue 1203; the stale-binary note is under "Run them"
On a Raphael RDNA2 iGPU (Ryzen 7 7700, PCI 1002:164E) under AMD's proprietary Windows driver 31.0.22044.1 (Vulkan driverVersion 2.0.283, driver info and compiler 23.20.44), the GPU test ps_bary reads a wrong third BaryCoordKHR component (0.992 where 0.0039 is expected), and it passes with LEONIDA_BARY_FALLBACK=1. barycentric_fallback now returns true for that PCI ID under VK_DRIVER_ID_AMD_PROPRIETARY only while driverVersion is at most VK_MAKE_VERSION(2, 0, 283); newer drivers, other RDNA2 devices and RADV keep native barycentrics. query() reads driverVersion from VkPhysicalDeviceProperties and passes it on; an unreported version (0) takes no fallback from this rule. LEONIDA_BARY_FALLBACK=0 turns it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After undecodable words, translate() put each printed instruction back at its
blob offset by searching forward for its printed bytes. A data word llvm-mc
printed as a copy of a later instruction (printed bytes are not the bytes
read) took that later instruction's place, and every instruction after it
lost its place: "undecodable words (cannot re-anchor)".
shader_ir.parse_file now reads the byte offset of each rejected word from the
llvm-mc messages (shader_disasm.py feeds one line of "0xNN " bytes, five
characters a byte) as info["invalid_at"]. When there is one offset per
rejected word, the translator skips exactly those words and searches nothing;
a listed word whose bytes are the next instruction is not skipped, so a
listing with wrong or hand-written messages reads as before.
On the 1.0.2.1 pipeline library, with #327's vcc-tuple decoding, 36 compute
programs that stopped at "cannot re-anchor" now translate and pass
spirv-val; none that translated before is lost.
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tested 0d27fdcf9 merged locally onto main 1504c1af6: cs_imgstore_cube passes everywhere, and nothing else changes state.
Devices: RADV, Mesa 26.3.1, Linux:
- AMD Radeon RX 7900 XTX (RDNA3, gfx1100);
- Ryzen 9 7950X3D iGPU (RDNA2, gfx1036);
- llvmpipe.
New fixture, 10 runs each with run_gpu_tests.py --filter cs_imgstore_cube --require-pass:
- 10/10 natively and 10/10 with LEONIDA_W64_EMULATE=1 on all three devices, 0 bad for all three cube images;
- the validation layer, with sync validation on, reports nothing on either AMD GPU.
Regressions, main vs main + #335:
- Full run_gpu_tests.py on both GPUs, native and emulated: 232/250 → 233/251. The only change is the new PASS.
- Every existing vk_store_test fixture keeps its state.
- tests/test_shader_checks.py and tests/semantic/test_image_cube_store_glc.py pass on both trees.
CI: this head's checks are still queued on GitHub, so I ran the Linux jobs locally. They give the same result on both trees. The only failures are already on main:
- cs_imgload_tfe and cs_imgload_d16_tfe (#31, fixed by #892);
- tests/test_tool_stdout_encoding.py.
AI-assisted (Claude Code, Claude Opus 5.5).
Tested 367d91ef (merged locally onto main 0af7753c) on RDNA3 and on an RDNA2 iGPU: pass.
Setup:
- AMD Radeon RX 7900 XTX (RDNA3, gfx1100)
- Ryzen 9 7950X3D iGPU (RDNA2, gfx1036)
- Mesa llvmpipe
- RADV Mesa 26.3.1, Linux
- Runtime built from main; this PR doesn't change any runtime/ C++. No game files.
Results:
- run_gpu_tests.py --filter cs_imgatomic_ext --require-pass passed 3/3 native and 3/3 with LEONIDA_W64_EMULATE=1 on each GPU, and 1/1 on llvmpipe. Every run printed "all 64 words of the uint image, the sint image and the volume exact".
- --filter imgatomic passed 4/4 on both GPUs (cs_imgatomic, cs_imgatomic3d, cs_imgatomic_ext, ps_imgatomic).
AI-assisted (Claude Code, Claude Opus 5.5).
The test fails in about two of three runs on Apple GPUs with MoltenVK
1.4.2 (#543) and had no row. The row records what the Apple M5 adds to
the M5 Pro report:
- MoltenVK lowers the four atomics to Metal's texture atomics, so the
module is not turned into a read-modify-write on the way;
- a wrong umax or umin texel always holds the max or min of only some
of its own 64 pixels, as a lost update between two groups of fragment
threads leaves it;
- it is neither the first-lane broadcast of the descriptor index (54 of
60 runs fail with the index used directly) nor the readback (42 of 60
fail with the copies in a submission of their own).
Documentation only.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The graphics bind point laid root arguments out with pack() (from s0, two
dwords per table), while the console starts them at s8 for VS/PS/GS with
one dword per table (the corpus census, and the retail frame loop reading
its tables at s8..s10). Compute already took the console layout (D3D-448);
graphics waited because a mesh shader (s16) and a pixel shader (s8) share
one push-constant block.
- translator: user_data_dword() - a mesh shader loads s16..s31 from push
dwords 8..23, s8..s15 as 0, s0..s7 unchanged, so root dword k is push
dword 8 + k for every graphics stage; index.json records the window as
"root_window" on mesh shaders. VS/PS/GS/CS are unchanged.
- runtime: CreateRootSignature lays graphics out with
pack_stage(Stage::Vertex) and checks Stage::Mesh (mesh_ok); a table is
one dword at both bind points; DispatchMesh with a signature past the
16-dword mesh window invalidates the list; a mesh PSO whose mesh shader
has no root_window (translated before) is refused with a log line.
- fixtures: the GLSL stand-ins read the root arguments at push dword 8 + k;
the M1.5/M2/M3 asm read their tables as one dword from s8.
- tests: tests/semantic/test_ms_root_window.py (MeshEXT and --mesh-compute
on the CPU interpreter), graphics-window cases in root_signature_test,
the two refusals in d3d12_mesh_test.
- docs: d3d12_vulkan.md 3.5, design.md user-data row.
Three pipeline-library compute programs of 1.0.2.1 hold v_cmp_gt_f32 with a
DPP16 or DPP8 src0. llvm-mc has no gfx10 decoding for the pair, so the
listing dropped the words and the programs were refused.
shader_disasm.py prints the pair through a VOP2 stand-in that takes the same
DPP word, rdna2_decode.py decodes it directly, and Gen.dpp_insn translates
the compare for the forms where every lane writes its bit. Other forms and
v_cmpx are refused: what an unwritten lane does to VCC is not measured.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>