vkback: count mipmapped-linear views by levels named #152
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!152
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-152"
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?
@TheRifai on GitHub · 2026-12-01 22:28 UTC · original
TheRifai:mip-view-count→main· +10 −1 · 3 files · 3 commits · merged 2026-12-02 15:57 UTCWhat
First step of docs/TASKS.md "Linear textures with mipmaps are not bound in place", added after PR #137's probe: count SRVs of console-linear textures with mips by how many levels they name — one level or several — on the stats line (
mip-linear views: one level N, several M). No behaviour change.The reference
The console's linear mips are packed smallest-first with 256-byte row padding; a Vulkan linear image cannot match that chain (PR #137: 0 of 6 shapes matched). The task asks whether views name one level (split images could work) or several (they cannot).
Evidence
cargo check -p vkback --all-targets, 168 native tests, and the build all pass.mip-linear views: one level 0, several 1433.one level 0, several 1452./tmp/opencode/capture/mip-views-house/,/tmp/opencode/capture/mip-views-boat/. Not performance measurements.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rule 29/31)unsafeor translator output changed (rules 2/9b/33/35/36/27)@vktory6 on GitHub · 2026-12-02 15:57 UTC · original
Merged, thanks. Two changes on your branch first: the counter now lives in the in-place texture stats (
InPlacein imgmake.rs), which keptlib.rsinside its size limit, and I merged main into it (one conflict in the same struct). Tests and policy pass.