Return zero for unused non-cube image query dimensions #207
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/TaynanGT--Vice-Tay!207
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-207"
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?
@TaynanGT on GitHub · 2026-11-27 09:49 UTC · original
TaynanGT:fix/resinfo-unused-extents→main· +54 −15 · 4 files · 2 commits · draftReturn zero for the unused dimensions of 1D, 2D, and 1D-array views queried by
image_get_resinfo. Cube depth and UAV mip counts use the existing value of one.The synthetic test queries a 3×2 texture and expects
[3, 2, 0, 1]in every lane. This sets translator cache version 10 so the changed result gets newly compiled code. The two source changes apply cleanly to99a7f9band pass the Rust parser and diff check. The Windows run is pending.Original fix Marvisak/VIctory#1313, port fxceless/victory-fork#957, and Dathinel’s integration.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.