feat(agc): primitive restart with an all-ones index for strips, and for lists with VK_EXT_primitive_topology_list_restart #115
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/115"
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 boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-09-29T00:01:23Z.
What
Follows #60. Indexed draws with
GE_MULTI_PRIM_IB_RESET_ENwere rejected outright. They're now drawn with Vulkan'sprimitiveRestartEnablewhen the result is exact:VK_EXT_primitive_topology_list_restart. The feature is detected and enabled inVulkanDevice, and passed throughContext::primitiveListRestart.VGT_MULTI_PRIM_IB_RESET_INDX) must be all ones for the draw's index size, which is what Vulkan restarts on. Any other value is still rejected by name.State::primitiveRestartis part of the pipeline key.Tested
Linux (CachyOS, RTX 4090, which has the list-restart extension): Astro Bot's indexed strip and list draws with restart enabled now render.
New cases in
agc_driver_graphics_tests:They ran on this branch merged with #113, which makes the target link again.
ctest: 57/57 pass.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository