Olympus: validate launcher and texture inputs #5

Merged
bmjask merged 2 commits from upstream-pr/6 into main 2026-11-21 17:27:19 +00:00
bmjask commented 2026-11-21 16:39:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T16:39:39Z.


Summary

  • accept valid UTF-16 launcher configuration while rejecting malformed text
  • validate D3D12 texture dimensions, array sizes, mip counts, and cube-face ranges before resource creation

Validation

  • focused launcher test: passed
  • focused descriptor-limit test: passed
  • xcl library tests: 202 passed, 13 ignored, 0 failed

This replaces the earlier conflict-heavy stack with two small changes rooted on current upstream main.

<!-- greyfinch-sync:ivall/xcl:issue:6531541215 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/6). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T16:39:39Z. --- ## Summary - accept valid UTF-16 launcher configuration while rejecting malformed text - validate D3D12 texture dimensions, array sizes, mip counts, and cube-face ranges before resource creation ## Validation - focused launcher test: passed - focused descriptor-limit test: passed - xcl library tests: 202 passed, 13 ignored, 0 failed This replaces the earlier conflict-heavy stack with two small changes rooted on current upstream main.
upstream-sync closed this pull request 2026-11-24 06:56:42 +00:00
ivall commented 2026-11-24 07:00:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T16:56:28Z.


Thanks! Merged the reviewed version (4cf10c7) in 82efa14 – the T# validation, 1D height, UMA span / subresource checks and the physical-page mapping checks are in.

One thing I didn't keep (eec9fb4): the separate linear layout. addrlib's GFX10 linear layout (Gfx10Lib::HwlComputeSurfaceInfoLinear) puts the smallest mip first and gives every depth slice its own mip chain – tiling::Layout mode 0 already does exactly that, and the new tests asserted the other order.

The later push (UTF-16 MicrosoftGame.config) looks good – feel free to send it as a small PR on top of current main. Closing this one.

<!-- greyfinch-sync:ivall/xcl:comment:7066079368 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/6#issuecomment-7066079368). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T16:56:28Z. --- Thanks! Merged the reviewed version (4cf10c7) in 82efa14 – the T# validation, 1D height, UMA span / subresource checks and the physical-page mapping checks are in. One thing I didn't keep (eec9fb4): the separate linear layout. addrlib's GFX10 linear layout (`Gfx10Lib::HwlComputeSurfaceInfoLinear`) puts the smallest mip first and gives every depth slice its own mip chain – `tiling::Layout` mode 0 already does exactly that, and the new tests asserted the other order. The later push (UTF-16 `MicrosoftGame.config`) looks good – feel free to send it as a small PR on top of current main. Closing this one.
ivall commented 2026-11-24 07:00:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T16:58:55Z.


Reopened – sorry, I closed this too early while you were still pushing updates. The review above still applies (what's already on main, and what I changed); keep going, and ping me when it's ready for another look.

<!-- greyfinch-sync:ivall/xcl:comment:7066114340 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/6#issuecomment-7066114340). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T16:58:55Z. --- Reopened – sorry, I closed this too early while you were still pushing updates. The review above still applies (what's already on main, and what I changed); keep going, and ping me when it's ready for another look.
bmjask commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T17:16:31Z.


The branch is now rebuilt on current main with only the UTF-16 launcher parsing and D3D12 texture-dimension validation changes. Focused tests and the full library suite pass; ready for another look.

<!-- greyfinch-sync:ivall/xcl:comment:7066350154 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/6#issuecomment-7066350154). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T17:16:31Z. --- The branch is now rebuilt on current main with only the UTF-16 launcher parsing and D3D12 texture-dimension validation changes. Focused tests and the full library suite pass; ready for another look.
ivall commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T17:27:21Z.


Thanks – merged. Ran the full suite here, GPU tests included, on top of current main.

<!-- greyfinch-sync:ivall/xcl:comment:7066494644 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/6#issuecomment-7066494644). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T17:27:21Z. --- Thanks – merged. Ran the full suite here, GPU tests included, on top of current 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
xcl-dev/xcl!5
No description provided.