GPU: a refused mesh pipeline says which part of its description is re… #553
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/553"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.