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

Closed
TaynanGT wants to merge 525 commits from upstream-pr/207 into main
TaynanGT commented 2026-11-27 09:49:29 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T09:49:29Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5524564911 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/207). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T09:49:29Z. --- 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).
TaynanGT commented 2026-11-30 17:15:46 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:15:46Z.


Superseded: main has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current main.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285982186 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/207#issuecomment-7285982186). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:15:46Z. --- Superseded: `main` has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current `main`.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!207
No description provided.