GPU: a refused mesh pipeline says which part of its description is re… #553

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

@⁠pug205gti6 on GitHub · 2026-11-25 02:07 UTC · original
pug205gti6:pr/436-gpu-refused-mesh → main · +162 −12 · 1 files · 1 commits · open

…fused

Without the debug layer the driver refuses a mesh pipeline with only E_INVALIDARG. On refusal the pipeline is now made again, outside the library, with the blend state, the rasterizer state, the depth and stencil state, then the targets, depth format and sample count made neutral one after another, then without its pixel shader; the warning names the first part whose neutral form is accepted, with the root parameter and static sampler counts and the state text. Only refused pipelines pay for the extra attempts. The new test skips on a host without mesh shaders, as the library test does.

AI-assisted (Claude Code)

**@⁠pug205gti6** on GitHub · 2026-11-25 02:07 UTC · [original](https://github.com/fxceless/victory-fork/pull/553) `pug205gti6:pr/436-gpu-refused-mesh` → `main` · +162 −12 · 1 files · 1 commits · open …fused Without the debug layer the driver refuses a mesh pipeline with only E_INVALIDARG. On refusal the pipeline is now made again, outside the library, with the blend state, the rasterizer state, the depth and stencil state, then the targets, depth format and sample count made neutral one after another, then without its pixel shader; the warning names the first part whose neutral form is accepted, with the root parameter and static sampler counts and the state text. Only refused pipelines pay for the extra attempts. The new test skips on a host without mesh shaders, as the library test does. AI-assisted (Claude Code)
Without the debug layer the driver refuses a mesh pipeline with only
E_INVALIDARG. On refusal the pipeline is now made again, outside the
library, with the blend state, the rasterizer state, the depth and
stencil state, then the targets, depth format and sample count made
neutral one after another, then without its pixel shader; the warning
names the first part whose neutral form is accepted, with the root
parameter and static sampler counts and the state text. Only refused
pipelines pay for the extra attempts. The new test skips on a host
without mesh shaders, as the library test does.

AI-assisted (Claude Code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:46:12 +00:00
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-25 05:08 UTC · original

Independent verification: PR #553 had a merge conflict in crates/victory-gpu/src/pipeline/host.rs — main had added depth_bounds parameter and stream_pipeline refactoring; resolved by integrating both the PRs Option<&str> name parameter and mesh_refusal() function. Build: success (7.62s). Tests: fail to compile on Linux due to pre-existing windows_sys issues — same on unmodified main. Mesh pipeline refusal diagnosis feature requires Windows GPU environment for runtime verification. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.

**@⁠Headache3318** on GitHub · 2026-11-25 05:08 UTC · [original](https://github.com/fxceless/victory-fork/pull/553#issuecomment-7153487892) Independent verification: PR #553 had a merge conflict in crates/victory-gpu/src/pipeline/host.rs — main had added depth_bounds parameter and stream_pipeline refactoring; resolved by integrating both the PRs Option<&str> name parameter and mesh_refusal() function. Build: success (7.62s). Tests: fail to compile on Linux due to pre-existing windows_sys issues — same on unmodified main. Mesh pipeline refusal diagnosis feature requires Windows GPU environment for runtime verification. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/pipeline/host.rs
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/553/head:github-bot/gh-553'
git switch 'github-bot/gh-553'

Merge

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