Repository navigation
Olympus: reject invalid mesh branch targets - #16
Merged
Merged
Conversation
Collaborator
|
Thanks – merged, that's exactly the fail-closed behaviour I meant. Re-ran it over the 390 ES/GS programs in the shader pack: none has an invalid branch target and none gets a wave32 hazard, so nothing real is rejected. Library (234), GPU PSO and e2e suites pass. |
ivall
added a commit
that referenced
this pull request
Nov 22, 2026
…ist layouts Unicorn Overlord runs on a newer console D3D12 runtime from its own game OS. It reports the same SDK version (0x20004) as XDefiant and Minecraft, but some vtables are laid out differently: - Command queue: there are two more methods before Signal. Signal is at #16, Wait #17, GetTimestampFrequency #18, SignalX #25 and PresentX #32. The title's Signal used to land on GetTimestampFrequency, which wrote 100 MHz over the fence's vtable, and the game crashed. queue_dispatch now handles the title's queue slots from #14. A fence passed to #16 or #17 marks the newer layout; the older layout never passes one there. - Command list: the console methods from CopyTextureRegionX onward sit two slots later (#85 instead of #83). The texture uploads used to hit SetPredicationBufferX, so every texture stayed zero and the screen showed only shapes and gradients. guard::make_layout_split now picks the method at each call and leaves the argument registers, xmm ones included, untouched. Also: - Console-only resource state bits (0x100000 on the 4K display target) are masked off when a resource is created. The PC refused the resource and the title threw. - The title commits 2046 of 2048 MB of unified memory at start. XCL's per-draw arena now has its own 64 MB pool at the end of window 0, so draws are no longer skipped. - FENCES is a read-write lock. end_title reads it while the title's threads are suspended, so a suspended reader no longer blocks it. Diagnostics: - XCL_WATCH=rva sets a write watchpoint in the exe; the calling thread is armed at once. - XCL_WATCH_FENCE=n watches the n-th fence. - The log now shows the device's SDK version, console-only interface requests, the title's file opens with their flags, DirectStorage requests, unified-memory use, and (in traces) whether title textures hold data in memory. README: Unicorn Overlord is listed as fully playable. Bink's GPU-assisted mode is no longer listed as missing: it needs no Bink-specific support. Hull, domain and amplification shaders are dropped from the list too, since none of the games use them.
mastrr9
pushed a commit
to mastrr9/xcl
that referenced
this pull request
Nov 24, 2026
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes direct-branch analysis fail closed when a target is misaligned, outside the decoded program, or not an instruction start. Invalid targets are retained as structured report evidence even when the branch is unreachable, rather than disappearing when CFG successors are built. Fixed-wave32 geometry hazard screening rejects these programs just like incomplete decoding.
Validation: