Skip to content

Olympus: validate launcher and texture inputs - #6

Merged
ivall merged 2 commits into
xcl-dev:mainfrom
bmjask:olympus-assets
Nov 21, 2026
Merged

ivall merged 2 commits into
xcl-dev:mainfrom
bmjask:olympus-assets

Conversation

@bmjask

@bmjask bmjask commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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.

ivall added a commit that referenced this pull request Nov 21, 2026
ivall added a commit that referenced this pull request Nov 21, 2026
PR #6 laid linear levels out from mip 0 and 3D textures level by level; addrlib's GFX10
linear layout (Gfx10Lib::HwlComputeSurfaceInfoLinear) has the levels from the smallest one
and a whole chain per depth slice – what tiling::Layout (mode 0) and Chain already do. Its
separate linear chain and the tests asserting that layout go; its T# validation, 1D height,
span and subresource checks stay.
@ivall

ivall commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

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 ivall closed this Nov 21, 2026
@ivall ivall reopened this Nov 21, 2026
@ivall

ivall commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

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 bmjask changed the title Olympus: harden texture and resource compatibility Olympus: validate launcher and texture inputs Nov 21, 2026
@bmjask

bmjask commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

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
ivall merged commit 63c8bd7 into xcl-dev:main Nov 21, 2026
@ivall

ivall commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants