d3d12: log what slot 62 returns and why a compute pipeline fails (RT-XS-SLOT62-DIAG) #801

Open
github-bot wants to merge 1 commit from github-bot/gh-801 into main AGit
Owner

@⁠s0las16 on GitHub · 2026-11-24 14:00 UTC · original
s0las16:devin/1795520762-slot62-diagnostics → main · +30 −7 · 2 files · 1 commits · open

claiming: RT-XS-SLOT62-DIAG

Slot 62 (Xbox CreateComputePipelineState) and the vkCreateShaderModule / vkCreatePipelineLayout / vkCreateComputePipelines failures in the compute path returned errors with no log line, and the shader load line counted only the main index. This logs each failed slot 62 call (number, HRESULT, CS size), the first success, the VkResult of those failures, and the fspx/library and bvh counts. Logging only.

Tested: retail boot, Windows 11, i7-11700F, RTX 3070, MSVC, LEONIDA_D3D12=vulkan: bvh 52, slot 62 call 2 created a compute pipeline, then a 900 s frame loop with no crash. No game files. AI-assisted (Devin)

**@⁠s0las16** on GitHub · 2026-11-24 14:00 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/801) `s0las16:devin/1795520762-slot62-diagnostics` → `main` · +30 −7 · 2 files · 1 commits · open claiming: RT-XS-SLOT62-DIAG Slot 62 (Xbox `CreateComputePipelineState`) and the `vkCreateShaderModule` / `vkCreatePipelineLayout` / `vkCreateComputePipelines` failures in the compute path returned errors with no log line, and the shader load line counted only the main index. This logs each failed slot 62 call (number, HRESULT, CS size), the first success, the `VkResult` of those failures, and the fspx/library and bvh counts. Logging only. Tested: retail boot, Windows 11, i7-11700F, RTX 3070, MSVC, `LEONIDA_D3D12=vulkan`: `bvh 52`, `slot 62 call 2 created a compute pipeline`, then a 900 s frame loop with no crash. No game files. AI-assisted (Devin)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:21:55 +00:00
Author
Owner

@⁠PierreEbele on GitHub · 2026-11-25 20:53 UTC · original

Reviewed e03f793: error-path logging for slot 62 and compute pipeline creation, plus the fspx/bvh counts in the library-load line. Not runnable in my environment (Windows/MSVC-only shims; no toolchain, GPU or game files), so this is a static review. Verified statically: behavior is unchanged in every path, the merge into current main is clean and keeps entry in scope, fspx_size()/bvh_size() exist on current main, format strings match, includes present, and no test parses these lines. Findings: none. The Runtime workflow compiles the shims on windows-latest, so merge once it is green — and please state what you tested and on which GPU/driver, plus the coordination-issue item (AGENTS.md). AI-assisted review.

Recommendation: Merge

**@⁠PierreEbele** on GitHub · 2026-11-25 20:53 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/801#issuecomment-7174331508) Reviewed e03f793: error-path logging for slot 62 and compute pipeline creation, plus the fspx/bvh counts in the library-load line. Not runnable in my environment (Windows/MSVC-only shims; no toolchain, GPU or game files), so this is a static review. Verified statically: behavior is unchanged in every path, the merge into current main is clean and keeps `entry` in scope, fspx_size()/bvh_size() exist on current main, format strings match, includes present, and no test parses these lines. Findings: none. The Runtime workflow compiles the shims on windows-latest, so merge once it is green — and please state what you tested and on which GPU/driver, plus the coordination-issue item (AGENTS.md). AI-assisted review. **Recommendation:** Merge
This pull request has changes conflicting with the target branch.
  • runtime/shims/d3d12_vulkan_device.cpp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/801/head:github-bot/gh-801'
git switch 'github-bot/gh-801'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-801'
git switch 'github-bot/gh-801'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-801'
git switch 'github-bot/gh-801'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-801'
git switch 'main'
git merge --squash 'github-bot/gh-801'
git switch 'main'
git merge --ff-only 'github-bot/gh-801'
git switch 'main'
git merge 'github-bot/gh-801'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.