ExecuteIndirect only runs single-argument command signatures #757

Open
opened 2026-11-26 04:13:55 +00:00 by github-bot · 12 comments
Owner

@⁠Conrage on GitHub · 2026-11-24 09:37 UTC · original

crates/victory-gpu/src/list.rs:1169 matches ([[kind, ..]], Some(address)), which is exactly one argument. A signature with more than one argument (for example root constants or a root view per record, then a draw or dispatch) is counted and dropped. It logs "indirect execution dropped (first time for this signature)".

Suggestion: build host command signatures for the root-constant and root-view arguments as well, mapped onto our root signature's parameters.

Testers: the args field of those log lines shows which signatures the world uses.

AI use: found and written with Claude from reading the code at 8e79c80; not run on hardware.

**@⁠Conrage** on GitHub · 2026-11-24 09:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/757) `crates/victory-gpu/src/list.rs:1169` matches `([[kind, ..]], Some(address))`, which is exactly one argument. A signature with more than one argument (for example root constants or a root view per record, then a draw or dispatch) is counted and dropped. It logs "indirect execution dropped (first time for this signature)". **Suggestion:** build host command signatures for the root-constant and root-view arguments as well, mapped onto our root signature's parameters. Testers: the `args` field of those log lines shows which signatures the world uses. _AI use: found and written with Claude from reading the code at `8e79c80`; not run on hardware._
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:55 +00:00
Author
Owner

@⁠MartinIndra02 on GitHub · 2026-11-24 10:12 UTC · original

Branch ready on fork (since PR creation is currently collaborators-only): https://github.com/MartinIndra02/VIctory/tree/feat/gpu-multi-arg-execute-indirect (commit 71967c1, based on main ffe310e).

What it implements

  • crates/victory-gpu/src/indirect.rs:
    • Uses the existing 4th dword of cbuffer Record (arg_offset) so the GPU argument clamp bounds the trailing Draw / DrawIndexed / Dispatch / DispatchMesh arguments at id.x * stride + arg_offset without disturbing preceding root constants.
    • Adds plan_indirect() to map single-argument signatures and multi-argument signatures whose prefix arguments are D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT onto the bound HostPipeline's user_data root-constant parameters (checking contiguity, bounds, collisions with other UserData entries, and cross-stage sharing; unused constants land in an unoccupied contiguous user_data range when available, otherwise the signature is cleanly dropped).
    • Non-constant prefix arguments that carry console GPU virtual addresses (vertex/index buffer views, root CBV/SRV/UAV) are still cleanly rejected rather than passing untranslated console addresses to the host.
  • crates/victory-gpu/src/pipeline/host.rs & draw.rs & list.rs:
    • Passes full args from list.rs into State::execute_indirect, creates and caches multi-argument host ID3D12CommandSignatures against p.root on HostPipeline, and keeps the signature alive on the host list until reset.

Verification

Windows 11 Pro 26200, NVIDIA GeForce RTX 3080 (10 GB, driver 621.24), Ryzen 7 5800X3D, Rust 1.98.1 (x86_64-pc-windows-msvc):

  • New unit test indirect::tests::plan_indirect_maps_root_constants_and_rejects_unsupported
  • New real D3D12 GPU test indirect::tests::multi_argument_indirect_dispatch_sets_root_constants_and_clamps (3-record indirect dispatch with 2 root constants + Dispatch at arg_offset = 8: verifies record 0 and 2 pass their root constants to the shader and record 1's over-limit dispatch is clamped to 0)
  • cargo test -p victory-gpu --lib -- --test-threads=1 (RTX 3080): 52 passed, 0 failed, 1 ignored
  • VICTORY_D3D12_WARP=1 cargo test -p victory-gpu --lib indirect -- --test-threads=1 (WARP): 3 passed, 0 failed
  • cargo clippy -p victory-gpu --all-targets -- -D warnings (default and --features diagnostics): 0 warnings
  • cargo xtask policy: 154 files ok

No game data used. AI-assisted; all builds and GPU tests executed on my machine.

**@⁠MartinIndra02** on GitHub · 2026-11-24 10:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7128468978) Branch ready on fork (since PR creation is currently collaborators-only): https://github.com/MartinIndra02/VIctory/tree/feat/gpu-multi-arg-execute-indirect (commit `71967c1`, based on `main` `ffe310e`). ### What it implements - **`crates/victory-gpu/src/indirect.rs`**: - Uses the existing 4th dword of `cbuffer Record` (`arg_offset`) so the GPU argument clamp bounds the trailing Draw / DrawIndexed / Dispatch / DispatchMesh arguments at `id.x * stride + arg_offset` without disturbing preceding root constants. - Adds `plan_indirect()` to map single-argument signatures and multi-argument signatures whose prefix arguments are `D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT` onto the bound `HostPipeline`'s `user_data` root-constant parameters (checking contiguity, bounds, collisions with other `UserData` entries, and cross-stage sharing; unused constants land in an unoccupied contiguous `user_data` range when available, otherwise the signature is cleanly dropped). - Non-constant prefix arguments that carry console GPU virtual addresses (vertex/index buffer views, root CBV/SRV/UAV) are still cleanly rejected rather than passing untranslated console addresses to the host. - **`crates/victory-gpu/src/pipeline/host.rs` & `draw.rs` & `list.rs`**: - Passes full `args` from `list.rs` into `State::execute_indirect`, creates and caches multi-argument host `ID3D12CommandSignature`s against `p.root` on `HostPipeline`, and keeps the signature alive on the host list until reset. ### Verification Windows 11 Pro 26200, NVIDIA GeForce RTX 3080 (10 GB, driver `621.24`), Ryzen 7 5800X3D, Rust 1.98.1 (`x86_64-pc-windows-msvc`): - New unit test `indirect::tests::plan_indirect_maps_root_constants_and_rejects_unsupported` - New real D3D12 GPU test `indirect::tests::multi_argument_indirect_dispatch_sets_root_constants_and_clamps` (3-record indirect dispatch with 2 root constants + `Dispatch` at `arg_offset = 8`: verifies record 0 and 2 pass their root constants to the shader and record 1's over-limit dispatch is clamped to 0) - `cargo test -p victory-gpu --lib -- --test-threads=1` (RTX 3080): **52 passed, 0 failed, 1 ignored** - `VICTORY_D3D12_WARP=1 cargo test -p victory-gpu --lib indirect -- --test-threads=1` (WARP): **3 passed, 0 failed** - `cargo clippy -p victory-gpu --all-targets -- -D warnings` (default and `--features diagnostics`): **0 warnings** - `cargo xtask policy`: **154 files ok** *No game data used. AI-assisted; all builds and GPU tests executed on my machine.*
Author
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 10:18 UTC · original

Ready-to-merge implementation on a fork branch (since external PR creation is currently paused):

Summary

  • Multi-argument ExecuteIndirect support for root-constant prefixes:
    • list.rs forwards the full guest argument slice to State::execute_indirect.
    • draw.rs adds map_indirect_args to map preceding D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT (type 5) entries onto the host pipeline's user_data root constants while preserving packed record layout (splitting non-contiguous destinations in record order; rejecting unsupported types like VBV/IBV/root-views, unmapped/aliased dwords, overlapping or out-of-order destinations, and invalid strides).
    • Caches root-bound ID3D12CommandSignatures (bounded 64-entry VecDeque holding ID3D12RootSignature refs to prevent ABA reuse, and list.keep(&signature) for in-flight lifetime safety) and mirrors ExecuteIndirect's root-constant invalidation in State::roots.
  • Offset-aware GPU argument clamp (indirect.rs):
    • Uses the 4th root constant in the clamp HLSL shader as offset (byte offset of the trailing draw/indexed/dispatch/mesh action within each stride-byte record) so the constant prefix is left untouched while the draw/dispatch counts are clamped.

Verification

Windows 11 Pro (26100), Rust 1.98.1 (x86_64-pc-windows-msvc), AMD Radeon RX 9060 XT (driver 32.0.32029.2010):

  • cargo test --workspace --locked → 349 passed, 0 failed, 6 ignored (23 test suites)
  • cargo test -p victory-gpu --locked indirect on RX 9060 XT and WARP → 8 passed, 0 failed (including live D3D12 CreateCommandSignature for single/split root constants and GPU clamp readback preserving padded constant prefixes)
  • cargo clippy --workspace --all-targets --locked -- -D warnings → pass (0 warnings)
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings → pass (0 warnings)
  • rustfmt --edition 2024 --check on all 3 modified files & cargo xtask policy (154 files ok) → pass

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 10:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7128607185) Ready-to-merge implementation on a fork branch (since external PR creation is currently paused): - **Branch**: https://github.com/geiyiliyabumo/VIctory/tree/feat/indirect-multi-arg-signatures (commit `9782f64` on `main` `ffe310e`; 3 files: `crates/victory-gpu/src/{list,draw,indirect}.rs`) ### Summary - **Multi-argument `ExecuteIndirect` support for root-constant prefixes**: - `list.rs` forwards the full guest argument slice to `State::execute_indirect`. - `draw.rs` adds `map_indirect_args` to map preceding `D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT` (type `5`) entries onto the host pipeline's `user_data` root constants while preserving packed record layout (splitting non-contiguous destinations in record order; rejecting unsupported types like VBV/IBV/root-views, unmapped/aliased dwords, overlapping or out-of-order destinations, and invalid strides). - Caches root-bound `ID3D12CommandSignature`s (bounded 64-entry `VecDeque` holding `ID3D12RootSignature` refs to prevent ABA reuse, and `list.keep(&signature)` for in-flight lifetime safety) and mirrors `ExecuteIndirect`'s root-constant invalidation in `State::roots`. - **Offset-aware GPU argument clamp (`indirect.rs`)**: - Uses the 4th root constant in the clamp HLSL shader as `offset` (byte offset of the trailing draw/indexed/dispatch/mesh action within each `stride`-byte record) so the constant prefix is left untouched while the draw/dispatch counts are clamped. ### Verification Windows 11 Pro (`26100`), Rust `1.98.1` (`x86_64-pc-windows-msvc`), **AMD Radeon RX 9060 XT** (driver `32.0.32029.2010`): - `cargo test --workspace --locked` → **349 passed, 0 failed, 6 ignored** (23 test suites) - `cargo test -p victory-gpu --locked indirect` on **RX 9060 XT** and **WARP** → **8 passed, 0 failed** (including live D3D12 `CreateCommandSignature` for single/split root constants and GPU clamp readback preserving padded constant prefixes) - `cargo clippy --workspace --all-targets --locked -- -D warnings` → **pass** (0 warnings) - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` → **pass** (0 warnings) - `rustfmt --edition 2024 --check` on all 3 modified files & `cargo xtask policy` (`154 files ok`) → **pass** AI-assisted; synthetic tests only, no game files.
Author
Owner

@⁠DrDarkDK on GitHub · 2026-11-24 10:18 UTC · original

Tested 71967c1 on native Windows 11 with the RTX 4070 Ti (driver 621.01) and software WARP. All three indirect tests passed on each adapter, including root-constant readback and clamping. I used --features diagnostics for WARP and made the GPU test fail locally if it couldn't create a D3D12 device.

cargo test --locked -p victory-gpu --features diagnostics --lib indirect -- --test-threads=1

Separately, I confirmed setup and ran the title on 8e79c80 with WARP. Both runs logged the same five dropped signatures during world loading. Each had one argument: kinds 2, 105, 10, 1, and 0, with strides 12, 12, 12, 20, and 16 bytes respectively. Signature-creation logging in the second run showed the same five single-argument layouts. Both runs ended at WARP device removal (0x887A0005), so coverage ends at early world loading.

AI-assisted test execution and reporting.

**@⁠DrDarkDK** on GitHub · 2026-11-24 10:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7128607361) Tested `71967c1` on native Windows 11 with the RTX 4070 Ti (driver 621.01) and software WARP. All three indirect tests passed on each adapter, including root-constant readback and clamping. I used `--features diagnostics` for WARP and made the GPU test fail locally if it couldn't create a D3D12 device. `cargo test --locked -p victory-gpu --features diagnostics --lib indirect -- --test-threads=1` Separately, I confirmed setup and ran the title on `8e79c80` with WARP. Both runs logged the same five dropped signatures during world loading. Each had one argument: kinds `2`, `105`, `10`, `1`, and `0`, with strides `12`, `12`, `12`, `20`, and `16` bytes respectively. Signature-creation logging in the second run showed the same five single-argument layouts. Both runs ended at WARP device removal (`0x887A0005`), so coverage ends at early world loading. AI-assisted test execution and reporting.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-24 10:26 UTC · original

Compared the two branches on WARP with a synthetic guest command list. I seeded guest root slot 7 with [10, 20, 30], recorded an indirect compute dispatch whose CONSTANT argument covers only DWORD 1, and checked the cached guest values after recording.

Revision Guest values after ExecuteIndirect
71967c1 [10, 20, 30]
71967c1 with a local reset of the written range [10, 0, 30]
9782f64 with its existing reset [10, 0, 30]

A separate native D3D12 readback confirmed that a direct dispatch after ExecuteIndirect sees zero for the constant changed by the indirect signature. The guest cache needs the same reset so a later bind does not restore the old value. The range reset in 9782f64 passes this check and preserves both neighboring DWORDs.

AI-assisted test, executed on Windows with WARP using synthetic data.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-24 10:26 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7128781228) Compared the two branches on WARP with a synthetic guest command list. I seeded guest root slot 7 with `[10, 20, 30]`, recorded an indirect compute dispatch whose `CONSTANT` argument covers only DWORD 1, and checked the cached guest values after recording. | Revision | Guest values after `ExecuteIndirect` | | --- | --- | | `71967c1` | `[10, 20, 30]` | | `71967c1` with a local reset of the written range | `[10, 0, 30]` | | `9782f64` with its existing reset | `[10, 0, 30]` | A separate native D3D12 readback confirmed that a direct dispatch after `ExecuteIndirect` sees zero for the constant changed by the indirect signature. The guest cache needs the same reset so a later bind does not restore the old value. The range reset in `9782f64` passes this check and preserves both neighboring DWORDs. AI-assisted test, executed on Windows with WARP using synthetic data.
Author
Owner

@⁠fuzeofficlal on GitHub · 2026-11-24 10:27 UTC · original

I compared the root-constant state after ExecuteIndirect on RTX 5090 and WARP with synthetic command lists.

In native D3D12, a subsequent direct dispatch read [17, 0, 0, 68, 85] from five initially nonzero words. Only the two words named in the command signature were cleared. Both adapters did the same with a zero count-buffer value and with MaxCommandCount = 0. All five native cases had zero debug-layer errors. D3D12 state rules

For a separate VIctory probe, I recorded the indirect dispatch and checked the guest values that the next translated bind consumes:

Revision Next bind on both adapters
71967c1 [11, 22, 33, 44]
71967c1 + small reset follow-up [11, 0, 0, 44]
9782f64 [11, 0, 0, 44]

The follow-up zeros the guest words referenced by the accepted signature after recording the command, so the next bind does not restore stale values. Both diagnostic suites passed 55 tests with one benchmark ignored. 9782f64 already handles this and passes the same probe.

**@⁠fuzeofficlal** on GitHub · 2026-11-24 10:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7128799726) I compared the root-constant state after `ExecuteIndirect` on RTX 5090 and WARP with synthetic command lists. In native D3D12, a subsequent direct dispatch read `[17, 0, 0, 68, 85]` from five initially nonzero words. Only the two words named in the command signature were cleared. Both adapters did the same with a zero count-buffer value and with `MaxCommandCount = 0`. All five native cases had zero debug-layer errors. [D3D12 state rules](https://microsoft.github.io/DirectX-Specs/d3d/IndirectDrawing.html#state-leakage) For a separate VIctory probe, I recorded the indirect dispatch and checked the guest values that the next translated bind consumes: | Revision | Next bind on both adapters | | --- | --- | | `71967c1` | `[11, 22, 33, 44]` | | `71967c1` + [small reset follow-up](https://github.com/fuzeofficlal/VIctory/commit/5e9d8c0daebcc3ee0718b934501431dc6a50bf3a) | `[11, 0, 0, 44]` | | `9782f64` | `[11, 0, 0, 44]` | The follow-up zeros the guest words referenced by the accepted signature after recording the command, so the next bind does not restore stale values. Both diagnostic suites passed 55 tests with one benchmark ignored. `9782f64` already handles this and passes the same probe.
Author
Owner

@⁠MartinIndra02 on GitHub · 2026-11-24 10:37 UTC · original

In-game signature check from two RTX 3080 world runs (~1.5 min into the world, diag build): every indirect execution dropped (first time for this signature) line logged was a single-argument signature (stride=12 kind 105 / 2 / 10, stride=16 kind 0, stride=20 kind 1) — dropped only because the bound pipeline wasn't translated, not because of multi-argument records. No multi-argument command signatures appeared in the opening world load.

Counts/types only; no game data. AI-assisted.

**@⁠MartinIndra02** on GitHub · 2026-11-24 10:37 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7129032570) In-game signature check from two RTX 3080 world runs (~1.5 min into the world, diag build): every `indirect execution dropped (first time for this signature)` line logged was a single-argument signature (`stride=12` kind `105` / `2` / `10`, `stride=16` kind `0`, `stride=20` kind `1`) — dropped only because the bound pipeline wasn't translated, not because of multi-argument records. No multi-argument command signatures appeared in the opening world load. *Counts/types only; no game data. AI-assisted.*
Author
Owner

@⁠LAKSHYA-cmd-tech on GitHub · 2026-11-24 10:39 UTC · original

Integrated, verified, and merged constant-prefixed multi-argument ExecuteIndirect signatures onto latest main with root-constant address pair lowering (#710) and mesh indirect routing (commit github.com/LAKSHYA-cmd-tech/VIctory@4c559868f0). All 75 tests in victory-gpu and 346 workspace tests pass cleanly.

**@⁠LAKSHYA-cmd-tech** on GitHub · 2026-11-24 10:39 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7129069147) Integrated, verified, and merged constant-prefixed multi-argument ExecuteIndirect signatures onto latest main with root-constant address pair lowering (#710) and mesh indirect routing (commit https://github.com/LAKSHYA-cmd-tech/VIctory/commit/4c559868f0a0d927aeb8ec2a52efc15fc2ba6442). All 75 tests in victory-gpu and 346 workspace tests pass cleanly.
Author
Owner

@⁠MartinIndra02 on GitHub · 2026-11-24 11:04 UTC · original

Thanks @⁠andrewpozdnakov7-jpg and @⁠fuzeofficlal for the native D3D12 state-leakage check! Updated \ eat/gpu-multi-arg-execute-indirect\ with $sha: \State::clear_indirect_constants\ now zeroes only the overwritten guest root-constant dwords after \ExecuteIndirect\ (preserving neighboring dwords and the other pipeline's roots), with regression test \draw::tests::indirect_constants_clear_only_overwritten_guest_range.\n\nRe-verified on Windows 11 / RTX 3080 (\621.24): \ ictory-gpu\ 53 passed, 0 failed (1 ignored), \clippy -- -D warnings\ (default and \diagnostics) clean, \cargo xtask policy\ 154 files ok. No game data; AI-assisted.

**@⁠MartinIndra02** on GitHub · 2026-11-24 11:04 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7129629447) Thanks @⁠andrewpozdnakov7-jpg and @⁠fuzeofficlal for the native D3D12 state-leakage check! Updated \ eat/gpu-multi-arg-execute-indirect\ with \$sha\: \State::clear_indirect_constants\ now zeroes only the overwritten guest root-constant dwords after \ExecuteIndirect\ (preserving neighboring dwords and the other pipeline's roots), with regression test \draw::tests::indirect_constants_clear_only_overwritten_guest_range\.\n\nRe-verified on Windows 11 / RTX 3080 (\621.24\): \ ictory-gpu\ **53 passed, 0 failed** (1 ignored), \clippy -- -D warnings\ (default and \diagnostics\) clean, \cargo xtask policy\ 154 files ok. *No game data; AI-assisted.*
Author
Owner

@⁠Proudnoob4 on GitHub · 2026-11-24 12:11 UTC · original

This extends @⁠MartinIndra02's opening-load check to a longer window in the world.

I went through 18 of my runs on an RTX 4080 / Windows 10: several diag builds based on d2a4bae, Series S and X. Every indirect execution dropped (first time for this signature) line is one of the same five single-argument signatures:

args Stride
[[2, …]] 12
[[105, …]] 12
[[10, …]] 12
[[1, …]] 20
[[0, …]] 16

No line has a second argument. That includes one run that stayed 15 minutes in the world (to frame 3600) and one of 7 minutes.

Those two long runs had VICTORY_SKIP_WAVE64=mesh,compute (#579) set, but the skip can't hide a multi-argument signature. In list.rs, a signature that isn't a single argument goes straight to that drop log and never reaches State::execute_indirect, where the pipeline checks and the skip happen. The five single-argument drops come from execute_indirect returning false, not from having several arguments.

So on this title, multi-argument command signatures are not what drops world work, at least in the first 15 minutes.

Also for #756: indirect mesh dispatches dropped does not appear in any of these runs.

Counts and log fields only; no game data attached. AI-assisted (Claude Code); the runs are from my machine.

**@⁠Proudnoob4** on GitHub · 2026-11-24 12:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7131084278) This extends @⁠MartinIndra02's opening-load check to a longer window in the world. I went through 18 of my runs on an RTX 4080 / Windows 10: several diag builds based on `d2a4bae`, Series S and X. Every `indirect execution dropped (first time for this signature)` line is one of the same five **single-argument** signatures: | `args` | Stride | |---|---:| | `[[2, …]]` | 12 | | `[[105, …]]` | 12 | | `[[10, …]]` | 12 | | `[[1, …]]` | 20 | | `[[0, …]]` | 16 | No line has a second argument. That includes one run that stayed **15 minutes in the world** (to frame 3600) and one of 7 minutes. Those two long runs had `VICTORY_SKIP_WAVE64=mesh,compute` (#579) set, but the skip can't hide a multi-argument signature. In `list.rs`, a signature that isn't a single argument goes straight to that drop log and never reaches `State::execute_indirect`, where the pipeline checks and the skip happen. The five single-argument drops come from `execute_indirect` returning false, not from having several arguments. So on this title, multi-argument command signatures are not what drops world work, at least in the first 15 minutes. Also for #756: `indirect mesh dispatches dropped` does not appear in any of these runs. Counts and log fields only; no game data attached. AI-assisted (Claude Code); the runs are from my machine.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-24 13:45 UTC · original

Thanks @⁠MartinIndra02 for incorporating the guest root-constant reset and its regression test. Commit 94ecc4e

Could you retain this Git trailer when carrying that contribution forward?

Co-authored-by: andrewpozdnakov7-jpg <[email protected]>

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-24 13:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7133297866) Thanks @⁠MartinIndra02 for incorporating the guest root-constant reset and its regression test. [Commit `94ecc4e`](https://github.com/MartinIndra02/VIctory/commit/94ecc4eb1798c319232d575e63c14b691536e3cb) Could you retain this Git trailer when carrying that contribution forward? `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>`
Author
Owner

@⁠MartinIndra02 on GitHub · 2026-11-24 13:55 UTC · original

@⁠andrewpozdnakov7-jpg Sure thing — amended the commit on feat/gpu-multi-arg-execute-indirect (db86e1e) to include the Co-authored-by: andrewpozdnakov7-jpg <[email protected]> trailer.

**@⁠MartinIndra02** on GitHub · 2026-11-24 13:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7133544339) @⁠andrewpozdnakov7-jpg Sure thing — amended the commit on `feat/gpu-multi-arg-execute-indirect` (`db86e1e`) to include the `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` trailer.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:50 UTC · original

Automated triage for the maintainers.

Confirmed on current main. execute_indirect in crates/victory-gpu/src/list.rs passes only single-argument signatures ([[kind, ..]]) to State::execute_indirect. Any other signature is counted and dropped, as its own shortcut: comment says. The thread also measured the title: across several world runs of up to 15 minutes, every logged dropped signature had a single argument. Those calls were dropped because their pipeline was missing, so multi-argument signatures don't drop any world work so far.

Open PR #956 (MartinIndra02) carries the root-constant-prefix version, linked to this issue. The other implementations (geiyiliyabumo, LAKSHYA-cmd-tech) are only on forks. Pull requests are open to everyone, so please compare with #956 and comment there, or open a PR if yours differs. The root-constant reset after ExecuteIndirect that testers found should be part of whichever lands.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/757#issuecomment-7152293660) <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-24T13:55:31Z at=2026-11-25T03:50:42Z --> Automated triage for the maintainers. Confirmed on current `main`. `execute_indirect` in `crates/victory-gpu/src/list.rs` passes only single-argument signatures (`[[kind, ..]]`) to `State::execute_indirect`. Any other signature is counted and dropped, as its own `shortcut:` comment says. The thread also measured the title: across several world runs of up to 15 minutes, every logged dropped signature had a single argument. Those calls were dropped because their pipeline was missing, so multi-argument signatures don't drop any world work so far. Open PR **#956** (MartinIndra02) carries the root-constant-prefix version, linked to this issue. The other implementations (geiyiliyabumo, LAKSHYA-cmd-tech) are only on forks. Pull requests are open to everyone, so please compare with #956 and comment there, or open a PR if yours differs. The root-constant reset after `ExecuteIndirect` that testers found should be part of whichever lands. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#757
No description provided.