Skip to content

Coordinating who works on what (55) (moved to #9235) #9065

Done

Description

@KoertLichtendonk

Moved to #9235. Please claim work there.

Activity

  1. Pablo-Barros commented on Nov 23, 2026

    @Pablo-Barros

    claiming: independent check of #8801 at head 651759141 (scripts/bench_wave64.py: its subprocesses do not inherit LEONIDA_VK_DEVICE), on a two-GPU machine (RTX 3070 and a Radeon iGPU, Windows 11): tests/test_bench_wave64.py, then scripts/bench_wave64.py with LEONIDA_VK_DEVICE=3070 set, on main 867d922f0 and on this head. Synthetic shaders only.

    AI-assisted (ZCode).

  2. nova-aryan commented on Nov 23, 2026

    @nova-aryan
    Contributor

    claiming: Package translated graphics shader modules for the slot-57 cache (new item)

    #8890's runtime expects fspx_gfx/index.json. Add a repeatable offline packer for the translator's existing output. Preserve per-stage metadata, index modules by full native program SHA-256, and refuse missing or ambiguous entries when packing a boot repro. This is the output packaging step, after the separate library extraction and program selection work. Verify with synthetic fixtures and the #8890 loader where possible. AI-assisted (Codex).

  3. Vonsek commented on Nov 23, 2026

    @Vonsek
    Contributor

    claiming: EGEN-GTA6RT-ARCHETYPE-ARG

    gta6rt --archetype-lookup RVA,ARG takes any ARG other than 1 as 0 (runtime/src/main.cpp:96), so --archetype-lookup 1A2B3C0,2 reports "hooked (argument 0)" and redirects the wrong call sites, exit 0. Making an invalid ARG the usage error (exit 2, before the image is opened), with a CMake check. No game files needed.

    Depends on: #8543 (same parser block in runtime/src/main.cpp).

    AI-assisted.

  4. Cryptoteep commented on Nov 23, 2026

    @Cryptoteep
    Contributor

    done: tools/pc_checker.py: detect and display RAM generation (fixes #8179) #9075 (claim)

  5. SamuelReeder commented on Nov 23, 2026

    @SamuelReeder

    done: text_tables-archive-output-guard #9064

  6. pes7 commented on Nov 23, 2026

    @pes7

    status: the five items under pes7 (#7056, #7127, #7335, #7479, #8174) are code-complete and every review finding on them is fixed. They are mergeable against main and each re-applies cleanly to today's head; what is missing on all five is the workflow run, which a first-time contributor's PR waits for (action_required).

    Two things from this work are findings rather than PRs, both already posted with numbers: detail::Prepared costs 1016 bytes per command and the per-command cost grows with the size of the prepared set (99 -> 253 ns), which is the one substantial remaining lever; and the naive split of that struct was implemented, measured and withdrawn, because a heap-allocated side part costs more than the bytes it saves.

  7. sovljanskii commented on Nov 23, 2026

    @sovljanskii
    Contributor

    done: fifth round of Apple M4 checks (macOS 27.2.1, MoltenVK 1.4.2, Python 3.15.2 / 3.12.16), each merged onto main dde82f27.

    On this machine main gives:

    AI-assisted.

  8. eizispark commented on Nov 23, 2026

    @eizispark

    done: runtime/test/spirv_capability.h #9079

  9. fuzeofficlal commented on Nov 23, 2026

    @fuzeofficlal

    Rechecked the 64-bit VALU finding from #8868 with hand-written instructions only.

    LLVM llvm-mc 23.1.6 (amdgcn-amd-amdhsa, wave32) rejected all ten listed mnemonics on both gfx1013 and gfx1036. Eight reported an invalid mnemonic, and v_min_u64 / v_max_u64 were recognised but reported as unsupported on both targets. All six positive controls assembled on both, including v_add_co_u32, v_and_b32, v_lshrrev_b64, and v_cmp_eq_u64. The AMD RDNA 2 ISA reference, section 6.3 lists the corresponding 32-bit operations and 64-bit shifts.

    Since this disagrees with the reported LLVM 21.1.8 run, could the original reporter share one synthetic assembler invocation and its -show-encoding result before anyone adds translator rules for these names? AI-assisted.

  10. marso006 commented on Nov 23, 2026

    @marso006

    claiming: independent checks of #9061 (KHR acceleration structures at an offset / in placed buffers), #8952 (descriptor test reads back through the UINT-border static samplers), #9055 (placed buffers keep their heap's arena range after Heap::Release), #9058 (bindless upload semaphore cleared before progress_ is destroyed) and #9028 (view-slice clears with a rectangle). Each head built on Windows 11 with VS 2026, its tests run with and without LEONIDA_VK_VALIDATION=1 plus the full runtime ctest, against main 867d922f0, on an NVIDIA RTX 5060 Ti (driver 617.42, ray query). Results as PR comments. AI-assisted (Claude Code).

  11. fuzeofficlal commented on Nov 23, 2026

    @fuzeofficlal

    finding: Metal set-0 array resize can leave a helper function call with mismatched argument and parameter types

    tools/spirv_metal_set0.py rewrites a set-0 runtime descriptor array passed to a helper, but the helper's OpFunctionParameter and OpTypeFunction still use the runtime array pointer. A valid hand-written SPIR-V fragment enters the CLI and it returns 0. The assembled output fails spirv-val --target-env vulkan1.2 at OpFunctionCall. The same error reproduces in an unused helper.

    Two valid call sites can pass arrays that resize to 4,096 and 1,024 elements, or a resized set-0 array and an untouched set-1 array. Retyping one formal globally would break these cases. Exhaustive inlining and dead-function elimination make the synthetic inlineable sample pass, but a DontInline call remains and still fails. This is separate from the index-free access-chain alias fix.

    No affected parameter shape was found in the current rdna2spirv function emitters. This is standalone Metal-tool coverage, with no GPU or game data needed. AI-assisted.

  12. tedin7 commented on Nov 23, 2026

    @tedin7
    Contributor

    claiming: vulkan_replay.h prepare_texture_copy (texture-to-texture BC <-> uncompressed format-conversion branch) — the destination bounds check copy.x / dst_block + blocks(...) > blocks(to.width, dst_block) wraps in 32 bits (copy.x = 0xFFFFFFFF onto a 1-wide mip passes and emits dstOffset.x = -1); same for copy.y. CPU-only replay test. Not the footprint path of #8777. AI-assisted.

  13. tedin7 commented on Nov 23, 2026

    @tedin7
    Contributor

    claiming: tools/rdna2spirv.py geometry-shader setup (~line 16538) — an OSG1 output register like 0xFFFFFFFF makes for i in range(n_emit * nreg + 1): g.cu(i) loop 4 billion times and exhaust memory; reject registers beyond the D3D limit of 32 GS output registers as Unsupported. CPU-only Python test. AI-assisted.

  14. tedin7 commented on Nov 23, 2026

    @tedin7
    Contributor

    claiming: tools/rdna2spirv.py input_signature / output_signature — an ISG1/OSG1 part shorter than its declared element count raises struct.error out of the batch translation loop (later shaders skipped); treat it as a malformed signature like the other per-shader errors. CPU-only Python test (the open #3814 renames input_signature but does not bounds-check it). AI-assisted.

  15. xXToinouXx commented on Nov 23, 2026

    @xXToinouXx

    claiming: Fix unsupported range arguments during pipeline crash recovery and reuse the sorted shader index for supported probes. AI-assisted (Codex).

  16. 386 remaining items

  17. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    claiming: dxgi host parity: adapter QI IDXGIAdapter4 (+GetDesc3), GetRestrictToOutput with no output (S_OK + null), ResizeBuffers invalid flag bits, null out-pointers on GetBuffer/GetHwnd/GetLastPresentCount/GetRestrictToOutput -> DXGI_ERROR_INVALID_CALL. Checked open PRs first; leaving Present flags (#7540), Present1 dirty rects (#4826), GetWindowAssociation (#8419), SetVideoMemoryReservation (#7497/#8715), CheckColorSpaceSupport/RefreshRate (#4610), EnumAdapters null (#7999) to their owners. agent: yes

  18. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    done: dxgi host parity (IDXGIAdapter4, GetRestrictToOutput, ResizeBuffers flags, null out-pointers) #9665

  19. DavidM1911 commented on Nov 23, 2026

    @DavidM1911

    finding: retail boot reaches compute PSO creation with the full translated shader library

    Location: runtime/shims/d3d12_xs_device.cpp + docs/retail_boot_chain.md (local diagnostic stack, Vulkan backend, retail 1.0.2.1, RTX 4090 driver 617.42).

    make_game.py --stages shaders on the retail package produced 26,576 translated entries — 26,503 game shaders (all SM 6.6 DXIL), 21 FSPX programs, 52 BVH programs — all spirv-val clean. With LEONIDA_SHADERS set the boot now:

    • loads the library (26576 translated shaders)
    • creates a root signature (device slot 16)
    • enters compute PSO creation (device slot 62)
    • logs root signature usable for graphics only: root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)
    • then the title write-faults on a null pointer (0xc0000005 write to 0x0) in its pipeline-setup path

    The proximate layer-side finding is the root-signature SGPR limit (#313 territory); whether the null write is a failed-PSO dereference or unrelated is not yet determined. First run to reach actual pipeline-state creation — still no draw or present. Needs game files to reproduce.

    AI-assisted.

  20. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    claiming: d3d12 CheckFeatureSupport(FORMAT_SUPPORT) for the depth-plane view formats (R24_UNORM_X8_TYPELESS, X24_TYPELESS_G8_UINT, R32_FLOAT_X8X24_TYPELESS, X32_TYPELESS_G8X24_UINT) and the SAMPLE/GATHER_COMPARISON bits. Checked #4533, #9305, #5142, #1511, #2563, #1493: none covers this. agent: yes

  21. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    done: FORMAT_SUPPORT for depth-plane view formats + comparison bits #9719

  22. DavidM1911 commented on Nov 23, 2026

    @DavidM1911

    finding: #8278 (compute root-signature spill array) verified on the retail boot — the spill wall is cleared; next frontier is console slots 41/61/108

    Location: local diagnostic stack + docs/retail_boot_chain.md (Vulkan backend, retail 1.0.2.1, RTX 4090 driver 617.42, RTX 3060 Ti for tests).

    • d3d12_compute_test and root_signature_test pass on pr-8278 head and on head+current main (RTX 3060 Ti). Posted on the PR.
    • On the retail boot with feat(d3d12): compute root-signature spill array (s[0:1]) #8278 merged, the compute PSO that used to die on spill array not modelled now proceeds: committed resources, command allocators/lists, a new descriptor heap, then console slots 39/41/61/70/86.
    • Slot 41 (CreateCommandSignature) and 61 (CreateSamplerX per docs/d3d12_xs_console_abi.md) forwarded by number reach unrelated PC methods and fault inside host code — now E_NOTIMPL probes with arg dumps. Slot 86 and 108 are beyond the 80-slot PC device vtable and are refused.
    • Current stop: after the refused slot-108 call the title jumps to address 0 (execute fault, empty stack) — consistent with calling through an object an E_NOTIMPL slot never produced. Next step is identifying which refused slot the title depends on.

    Still no draw or present. Needs game files. AI-assisted.

  23. pes7 commented on Nov 23, 2026

    @pes7

    Retracting part of the status above: #7127 is closed as a duplicate, and its numbers were overstated — both corrections are in the PR (#7127).

    The three hunks it carried are each already in an earlier open PR: #6413 (rdna2spirv.py, 14:13 UTC), #6086 (lane_masks.py, 13:03) and #5862 (shader_meta.py, 12:21), all opened before mine at 15:59. Per CONTRIBUTING the earlier ones win, and a reviewer's git merge-tree found the conflict with each.

    The figures I posted here (−18% corpus, −17% ALU, −39% s_nop) do not survive an interleaved A/B: the same reviewer measured translate() at −4% on s_nop and −1% on ALU, which is what a base_op that drops from ~105 to ~38 ns per call can actually buy at 30-33 calls per instruction. Mine came from a profiled single run, and I read the profile's inflated share as the effect. That is the mistake to avoid in this thread: it is exactly why the comparison tool in #7056 exists.

    tests/test_base_op_cache.py is a real negative control (4 errors on main, 4 OK with a cache) and is offered to whichever of #6413, #6086 or #5862 lands.

    So the state of my items: #7056, #7335, #7479 and #8174 are open and mergeable; #7127 is withdrawn. Everything else in the status comment stands, including the two negative results (views_mutex, the naive Prepared split) and the Prepared size finding.

  24. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    claiming: d3d12 CheckFeatureSupport: refuse SHADER_MODEL above 6.9 (E_INVALIDARG as host), set FORMAT_SUPPORT1_CAST_WITHIN_BIT_LAYOUT as host does. Stacked on #9719. agent: yes

  25. haayden commented on Nov 23, 2026

    @haayden
    Contributor

    done: CheckFeatureSupport SHADER_MODEL > 6.9 refused + CAST_WITHIN_BIT_LAYOUT #9852 (stacked on #9719)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions