mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1196] vulkan: copy descriptor table slots directly into mapped staging #1228
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1228
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1196
Author: @Kadamitas
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:perf/descriptor-table-staging📝 Commits (1)
2fd49dfvulkan: copy the descriptor table directly into mapped staging📊 Changes
1 file changed (+15 additions, -17 deletions)
View changed files
📝
runtime/src/descriptor_table.h(+15 -17)📄 Description
Claimed in the coordination issue as bulk-copy occupied descriptor staging slots.
What and why
Full bindless table uploads currently write every slot in small fragments, even though the descriptor and value records are already laid out in upload order. Copy the occupied slot range directly into mapped staging and use the same serializer for both the span and pointer entry points. The cleared-marker form still clears those words, and the upload layout and tombstone values are preserved.
Tested
descriptor_table_testpassed on Windows.GPUs tested: N/A. The benchmark used native Windows write-combined host pages.
AI-assisted: yes.
Checklist
main(6293c1c4f).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.