[perf][LOW] Per-mip layout transitions issued one-at-a-time #70
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Catcrafts/Crafter.Graphics#70
Loading…
Add table
Add a link
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?
Subsystem: Image pipeline
Location:
interfaces/Crafter.Graphics-ImageVulkan.cppm:130-162Impact: Near-zero · Effort: Small · Not hot path (texture-upload time)
Problem
Per-mip layout transitions are issued one-at-a-time (N+1 barrier calls per mip-chain).
Proposed fix
Batch only the initial/final transitions.
Correctness caveat
The N-1 interleaved per-level barriers are correctness-mandated (each blit reads level i-1) and unbatchable. Only the initial/final transitions are batchable — near-zero ceiling. Down-ranked.