Return zero for unused non-cube image query dimensions #207

Open
github-bot wants to merge 2 commits from github-bot/gh-207 into main AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 09:49 UTC · original
TaynanGT:fix/resinfo-unused-extents → main · +54 −15 · 4 files · 2 commits · draft

Return 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 to 99a7f9b and 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.

**@⁠TaynanGT** on GitHub · 2026-11-27 09:49 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/207) `TaynanGT:fix/resinfo-unused-extents` → `main` · +54 −15 · 4 files · 2 commits · draft Return 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 to 99a7f9b and pass the Rust parser and diff check. The Windows run is pending. Original fix [Marvisak/VIctory#1313](https://github.com/Marvisak/VIctory/pull/1313), port [fxceless/victory-fork#957](https://github.com/fxceless/victory-fork/pull/957), and [Dathinel’s integration](https://github.com/Dathinel/victory-4gb/commit/753542b87247e901eb52a6214c630849d52e09c3).
Lower unused non-cube image dimensions to zero and test a synthetic 2D view with all result channels selected.

Co-authored-by: EatCodeSleep2 <[email protected]>
Co-authored-by: Moon0755 <[email protected]>
Co-authored-by: Dathinel <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:40:00 +00:00
This pull request has changes conflicting with the target branch.
  • README.md
  • crates/victory-shader/src/lib.rs
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.
git fetch -u origin '+refs/pull/207/head:github-bot/gh-207'
git switch 'github-bot/gh-207'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-207'
git switch 'github-bot/gh-207'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-207'
git switch 'github-bot/gh-207'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-207'
git switch 'main'
git merge --squash 'github-bot/gh-207'
git switch 'main'
git merge --ff-only 'github-bot/gh-207'
git switch 'main'
git merge 'github-bot/gh-207'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.