Repository navigation
fix(agc): a mesh draw shorter than one primitive draws nothing - #6279
Merged
adriadam10 merged 1 commit intoOct 18, 2026
Merged
Conversation
This was referenced Oct 15, 2026
Closed
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
11 tasks done
A direct mesh draw with fewer indices than its input primitive threw "mesh draw contains no complete primitive" (about 1800 skipped draws per 10 s in PPSA08427's hub, each paying an exception). The hardware assembles no primitive from it, as Vulkan does for a non-mesh draw that short, so it is now an empty draw. A mesh pipeline grouping zero primitives still throws, with its own message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uzy15wqYTt6iWyxYXEzUWo
adriadam10
force-pushed
the
fix/mesh-draw-short-of-a-primitive
branch
from
October 18, 2026 19:46
19ea517 to
e2a4d10
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A direct mesh draw with fewer indices than one input primitive (for example 2 indices of a triangle list) threw
mesh draw contains no complete primitive, and the draw was skipped through an exception. The hardware assembles no primitive from it, as Vulkan does for a non-mesh draw that short, so it is now an empty draw (inputs.nothing), as other empty draws already are. In PPSA08427's hub that is about 1800 draws per 10 s, each paying an exception.A mesh pipeline whose subgroup holds zero primitives still throws, now with its own message (
mesh pipeline groups no primitive (zero primitives per group)). Indirect mesh draws are unchanged.Tested
CachyOS Linux (kernel 7.2.9), NVIDIA GeForce RTX 3060, driver 615.78.08, GCC 16.2.1, Release, on
main721db55.agc_driver_meshdraws a triangle list of 2 vertices, indexed and not, and checks that nothing was drawn. Onmainit fails withAGC graphics: mesh draw contains no complete primitive.agc_driver_mesh,agc_driver_graphics.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
https://claude.ai/code/session_01Uzy15wqYTt6iWyxYXEzUWo