Codex/fix gpu castable test 2026 11 25 #1935

Open
lollo1977 wants to merge 2 commits from upstream-pr/1937 into main
lollo1977 commented 2026-11-25 01:18:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by lollo1977 on 2026-11-25T01:18:12Z.


No description provided.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6594888324 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1937). Originally posted by [lollo1977](https://github.com/lollo1977) on 2026-11-25T01:18:12Z. --- _No description provided._
upipibi commented 2026-11-25 02:06:02 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by upipibi on 2026-11-25T01:25:54Z.


Overlap note, from reading the diffs (not run): #1765 (AgneyaK, opened a day earlier, mergeable) fixes the same a_texture_written_in_one_format_reads_in_another_through_a_placed_view failure on hosts that refuse castable formats. It does it the same way: expect one host texture only where the host took the castable formats. This PR also adds a "Local validation (2026-11-25)" section to README.md, which reads like a test log rather than documentation and probably shouldn't go in.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149538737 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1937#issuecomment-7149538737). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-25T01:25:54Z. --- Overlap note, from reading the diffs (not run): #1765 (AgneyaK, opened a day earlier, mergeable) fixes the same `a_texture_written_in_one_format_reads_in_another_through_a_placed_view` failure on hosts that refuse castable formats. It does it the same way: expect one host texture only where the host took the castable formats. This PR also adds a "Local validation (2026-11-25)" section to `README.md`, which reads like a test log rather than documentation and probably shouldn't go in. AI-assisted (Claude Code).
catminou4 commented 2026-11-25 03:02:54 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T02:10:27Z.

Review: COMMENTED


Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff.

Codex fix for gpu castable test: test-fix branch for the castable test (#1765 area). Fine.

<!-- greyfinch-sync:Marvisak/VIctory:review:6050612666 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1937#pullrequestreview-6050612666). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T02:10:27Z. **Review:** COMMENTED --- Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff. Codex fix for gpu castable test: test-fix branch for the castable test (#1765 area). Fine.
Marvisak commented 2026-11-25 09:06:13 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T08:20:53Z.


Automated triage for the maintainers.

Proposed close.

  • Test change. The change to a_texture_written_in_one_format_reads_in_another_through_a_placed_view in crates/victory-gpu/src/draw.rs duplicates #1765, which is still open, was filed a day earlier, and is smaller. Both expect one host texture only where make_texture in resource.rs kept the castable list, since it clears that list when the host refuses castable formats. #1765 also documents which hosts hit this.
  • README section. The added "Local validation (2026-11-25)" section is a local test-run report. The repo docs stay short and don't take run logs.

CI: check passing.

This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label. Test results on hosts that refuse castable formats are welcome as a comment on #1765.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7156913491 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1937#issuecomment-7156913491). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T08:20:53Z. --- <!-- victory-triage v1 head=e86f31db7139d1bfc76b3a144d87d74f74dc621e verdict=proposed-close at=2026-11-25T08:20:46Z --> Automated triage for the maintainers. **Proposed close.** - **Test change.** The change to `a_texture_written_in_one_format_reads_in_another_through_a_placed_view` in `crates/victory-gpu/src/draw.rs` duplicates #1765, which is still open, was filed a day earlier, and is smaller. Both expect one host texture only where `make_texture` in `resource.rs` kept the castable list, since it clears that list when the host refuses castable formats. #1765 also documents which hosts hit this. - **README section.** The added "Local validation (2026-11-25)" section is a local test-run report. The repo docs stay short and don't take run logs. CI: `check` passing. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label. Test results on hosts that refuse castable formats are welcome as a comment on #1765. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1937:upstream-pr/1937'
git switch 'upstream-pr/1937'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1937'
git switch 'upstream-pr/1937'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1937'
git switch 'upstream-pr/1937'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1937'
git switch 'main'
git merge --squash 'upstream-pr/1937'
git switch 'main'
git merge --ff-only 'upstream-pr/1937'
git switch 'main'
git merge 'upstream-pr/1937'
git push origin 'main'
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
Marvisak/VIctory!1935
No description provided.