Skip to content

Olympus: honor disabled process task queues - #11

Merged
ivall merged 1 commit into
xcl-dev:mainfrom
bmjask:codex/olympus-process-queue
Nov 21, 2026
Merged

ivall merged 1 commit into
xcl-dev:mainfrom
bmjask:codex/olympus-process-queue

Conversation

@bmjask

@bmjask bmjask commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve the distinction between default, disabled, and explicitly replaced process task queues
  • return the documented no-task-queue failure when scheduling through a disabled process queue
  • complete XAsync state when synchronous scheduling fails

Validation

  • focused task-queue tests: 2 passed
  • xcl library tests: 201 passed, 13 ignored, 0 failed

@ivall
ivall merged commit 3bb4323 into xcl-dev:main Nov 21, 2026
@ivall

ivall commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks – merged. Right, a null process queue means disabled, not "make a new one".

ivall added a commit that referenced this pull request Nov 21, 2026
From runs of the user's XDefiant dump (each was a stop of the title after a
failed D3D12 call):
- D: is mounted on the game folder by default (d:\hunter\...); new default
  mounts are merged into existing configs;
- the title's unhandled-exception filter goes behind XCL's; crash records
  have all registers, the vtable module of the objects they point at and
  the callers on the stack;
- CheckFeatureSupport with the console's larger structures (D3D12_OPTIONS
  0x40 bytes) is retried with the PC size;
- device #25 GetResourceAllocationInfo called the C way (return buffer
  first) no longer writes over the device;
- the DMA list has its own vtable: Close #9, Reset #10, CopyBufferRegion
  #11, CopyTextureRegion #12, CopyResource #13, CopyTiles #14;
- the PC runtime writes its vtable into a copy list on Reset: XCL's is put
  back;
- device #27 CreateCommittedResource from console code: buffers and
  textures in unified memory (the title clears a texture through its GPU
  address).
It now stops where the title's inline D3D12.X code writes graphics records
into the command list object. Diagnostics: XCL_WATCH_DEVICE / XCL_WATCH_DMA
(hardware write watchpoints), XCL_D3D12_DEBUG (debug layer messages into
the log).

Console shader kernels: local arrays indexed per lane, switch in nested
loops, 16-bit floats and integers (11 kernels, all the same as the PC).
gbuyssens pushed a commit to gbuyssens/xcl that referenced this pull request Nov 23, 2026
…and offset (from xcl-dev#169)

The retail game called xcl-dev#10 (a stub returning E_NOTIMPL) and then wrote to address 0 at
+0x2215c35. xcl-dev#10 / xcl-dev#11 are GetSubresourceLayout / GetSubresourceOffsetBytes: the
XG_SUBRESOURCE_LAYOUT of a subresource, or its byte offset.

Only xg.rs of xcl-dev#169 is taken: its DSV format 118 remap is covered more completely by
xcl-dev#163 (merged with xcl-dev#170: resource descs, pipelines, depth buffers that are UAVs).
gbuyssens pushed a commit to gbuyssens/xcl that referenced this pull request Nov 23, 2026
…and offset (from xcl-dev#169)

A title called xcl-dev#10 (a stub returning E_NOTIMPL) and then wrote to address 0.
xcl-dev#10 / xcl-dev#11 are GetSubresourceLayout / GetSubresourceOffsetBytes: the
XG_SUBRESOURCE_LAYOUT of a subresource, or its byte offset.

Only xg.rs of xcl-dev#169 is taken: its DSV format 118 remap is covered more completely by
xcl-dev#163 (merged with xcl-dev#170: resource descs, pipelines, depth buffers that are UAVs).
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