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

Open
pug205gti6 wants to merge 1 commit from upstream-pr/553 into main
pug205gti6 commented 2026-11-25 02:07:40 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-25T02:07:40Z.


…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)

<!-- greyfinch-sync:fxceless/victory-fork:issue:6595503718 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/553). Originally posted by [pug205gti6](https://github.com/pug205gti6) on 2026-11-25T02:07:40Z. --- …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)
Headache3318 commented 2026-11-25 05:09:04 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T05:08:31Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7153487892 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/553#issuecomment-7153487892). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-11-25T05:08:31Z. --- 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 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/553:upstream-pr/553'
git switch 'upstream-pr/553'

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/553'
git switch 'upstream-pr/553'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/553'
git switch 'upstream-pr/553'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/553'
git switch 'main'
git merge --squash 'upstream-pr/553'
git switch 'main'
git merge --ff-only 'upstream-pr/553'
git switch 'main'
git merge 'upstream-pr/553'
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
fxceless/victory-fork!553
No description provided.