Mesh fallback for GPUs without mesh shaders #1555
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1555"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by tarekmania on 2026-11-28T21:39:28Z.
On GPUs without mesh shaders (GTX 10, RX 5000 and older) mesh pipelines were refused, so most world geometry was missing (#1201).
The mesh program now runs there as a compute shader that writes its vertices and primitives to a buffer, and a vertex shader draws them with the title's pixel shader. Covers direct and indirect mesh dispatches. On by default when the GPU has no mesh shaders;
VICTORY_MESH_FALLBACK=1forces it,0turns it off. Details indocs/mesh-fallback.md.Tests: on WARP the fallback draws what the mesh shader draws; layout and vertex shader unit tests.
Also fixes two clippy lints in victory-shader (an unused
colour, a manual checked division).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.