GPU: show why a host root signature is refused #3633

Open
andrewpozdnakov7-jpg wants to merge 1 commit from upstream-pr/3633 into main
andrewpozdnakov7-jpg commented 2026-11-28 00:47:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T00:47:20Z.


The existing host root signature refusal warning now names the phase that returned the error. Serialization and device creation are separate D3D12 calls and can require different fixes. On either failure, call the same debug-message drain already used for other pipeline creation failures.

A generated compute pipeline builds on both main and this head on Windows 10 with app-local WARP 1.0.22 and Agility SDK 1.620.2. Controlled refusals at the root-signature call site recorded the phase and reached the message-drain routine on this head. This host did not expose the debug info queue, so the local check observed the drain call. The 246 repository GPU tests and app-local module identity check passed, with one ignored.

Root signature creation in the D3D12 documentation · Coordination claim

AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5535071094 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3633). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-28T00:47:20Z. --- The existing host root signature refusal warning now names the phase that returned the error. Serialization and device creation are separate D3D12 calls and can require different fixes. On either failure, call the same debug-message drain already used for other pipeline creation failures. A generated compute pipeline builds on both main and this head on Windows 10 with app-local WARP 1.0.22 and Agility SDK 1.620.2. Controlled refusals at the root-signature call site recorded the phase and reached the message-drain routine on this head. This host did not expose the debug info queue, so the local check observed the drain call. The 246 repository GPU tests and app-local module identity check passed, with one ignored. [Root signature creation in the D3D12 documentation](https://learn.microsoft.com/en-us/windows/win32/direct3d12/creating-a-root-signature) · [Coordination claim](https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7231101876) AI-assisted with OpenAI Codex.
andrewpozdnakov7-jpg commented 2026-11-28 00:48:04 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T00:48:04Z.


I ran the same generated compute pipeline on Windows 10 22H2 with app-local WARP 1.0.22 and Agility 1.620.2. Both 63bcca4 and 4982f53 created it successfully.

For a controlled refusal, main printed the generic root-signature warning. This head printed the supplied serialization or device-creation phase and called the existing debug-message drain in both cases. The local device did not expose ID3D12InfoQueue, so this test checks the drain call with no queue present.

All 246 repository GPU tests and the app-local runtime identity check passed, with one ignored. Strict GPU Clippy in both feature configurations and the asset policy also passed.

If you reuse the code, please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg [email protected] if folding it into another commit.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7231200772 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3633#issuecomment-7231200772). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-28T00:48:04Z. --- I ran the same generated compute pipeline on Windows 10 22H2 with app-local WARP 1.0.22 and Agility 1.620.2. Both 63bcca4 and 4982f53 created it successfully. For a controlled refusal, main printed the generic root-signature warning. This head printed the supplied serialization or device-creation phase and called the existing debug-message drain in both cases. The local device did not expose ID3D12InfoQueue, so this test checks the drain call with no queue present. All 246 repository GPU tests and the app-local runtime identity check passed, with one ignored. Strict GPU Clippy in both feature configurations and the asset policy also passed. If you reuse the code, please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding it into another commit.
futurepro62 commented 2026-11-29 20:37:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by futurepro62 on 2026-11-29T20:37:10Z.


Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head 4982f53 (on its base 63bcca4).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), dxil.dll from Windows SDK 10.0.26100 (the loader's default), debug.
  • cargo build --workspace --locked, then cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 866 passed, 0 failed, 10 ignored.
  • No new #[test] functions in the diff.
  • --skip leaves out tests that fail on main 63bcca4 on this card too, not because of this PR: heap_direct_texture_reads_mark_their_heap_index ends the victory-shader test process with 0xc0000005 (#2571), so without the skip the rest of that crate never reports; dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views and the two stride_tests hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); gathers_at_a_level_match_the_hardware fails on lane 0 (#1744).

Not tested

  • AMD (the tests take the default adapter), a release build, the title (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7262224543 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/3633#issuecomment-7262224543). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-29T20:37:10Z. --- Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head `4982f53` (on its base `63bcca4`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), `dxil.dll` from Windows SDK 10.0.26100 (the loader's default), debug. - `cargo build --workspace --locked`, then `cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware`: **866 passed, 0 failed, 10 ignored**. - No new `#[test]` functions in the diff. - `--skip` leaves out tests that fail on main `63bcca4` on this card too, not because of this PR: `heap_direct_texture_reads_mark_their_heap_index` ends the `victory-shader` test process with `0xc0000005` (#2571), so without the skip the rest of that crate never reports; `dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views` and the two `stride_tests` hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); `gathers_at_a_level_match_the_hardware` fails on lane 0 (#1744). **Not tested** - AMD (the tests take the default adapter), a release build, the title (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3633:upstream-pr/3633'
git switch 'upstream-pr/3633'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3633'
git switch 'upstream-pr/3633'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3633'
git switch 'upstream-pr/3633'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3633'
git switch 'main'
git merge --squash 'upstream-pr/3633'
git switch 'main'
git merge --ff-only 'upstream-pr/3633'
git switch 'main'
git merge 'upstream-pr/3633'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!3633
No description provided.