Olympus: validate launcher and texture inputs #6

Manually merged
github merged 2 commits from gh-pr/6/head into gh-pr/6/base 2026-11-26 04:03:36 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-21 16:39 UTC · original
bmjask:olympus-assets → main · +129 −1 · 2 files · 2 commits · merged 2026-11-21 17:27 UTC

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.

**@⁠bmjask** on GitHub · 2026-11-21 16:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/6) `bmjask:olympus-assets` → `main` · +129 −1 · 2 files · 2 commits · merged 2026-11-21 17:27 UTC ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:03:34 +00:00
github manually merged commit 55ebf2b8b0 into gh-pr/6/base 2026-11-26 04:03:36 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 16:56 UTC · original

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** on GitHub · 2026-11-21 16:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/6#issuecomment-7066079368) 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.
Author
Owner

@⁠ivall on GitHub · 2026-11-21 16:58 UTC · original

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.

**@⁠ivall** on GitHub · 2026-11-21 16:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/6#issuecomment-7066114340) 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.
Author
Owner

@⁠bmjask on GitHub · 2026-11-21 17:16 UTC · original

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.

**@⁠bmjask** on GitHub · 2026-11-21 17:16 UTC · [original](https://github.com/xcl-dev/xcl/pull/6#issuecomment-7066350154) 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.
Author
Owner

@⁠ivall on GitHub · 2026-11-21 17:27 UTC · original

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

**@⁠ivall** on GitHub · 2026-11-21 17:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/6#issuecomment-7066494644) Thanks – merged. Ran the full suite here, GPU tests included, on top of current main.
This discussion has been locked. Commenting is limited to contributors.
No description provided.