Skip to content

D3D12.X: non-overlapping video-memory arenas; command queue #18 befor… - #130

Closed
gbuyssens wants to merge 1 commit into
xcl-dev:mainfrom
gbuyssens:pr/vram-arenas-queue18
Closed

gbuyssens wants to merge 1 commit into
xcl-dev:mainfrom
gbuyssens:pr/vram-arenas-queue18

Conversation

@gbuyssens

Copy link
Copy Markdown
Contributor

…e the layout is known writes 8 bytes (#104)

  • vram::arena_for made a new 128 MiB arena over addresses an existing one already stood for whenever a placement started below an arena or straddled its end: the resources there no longer aliased (two heaps for one console address) and every such miss cost 128 MiB of VRAM. A new arena is cut back to the gap between its neighbours (new_arena_range); a resource crossing an arena's edge gets a resource of its own (no heap can hold it whole; logged once). Unit test with the issue's sequence.
  • Until the title has passed a fence to Signal / Wait, queue slot Olympus: isolate GameSave async validation test #18 is GetDesc on the older layout and GetTimestampFrequency (a UINT64 out-parameter) on the newer one. A GetDesc answered in full wrote 16 bytes into a newer title's UINT64: now only the descriptor's first 8 bytes until a fence tells the layout (one at Olympus: emulate geometry wave64 on wave32 #14 / Olympus: report mesh wave requirements #15: the older layout).

…before the layout is known writes 8 bytes (xcl-dev#104)

- vram::arena_for made a new 128 MiB arena over addresses an existing one already stood for
  whenever a placement started below an arena or straddled its end: the resources there no
  longer aliased (two heaps for one console address) and every such miss cost 128 MiB of VRAM.
  A new arena is cut back to the gap between its neighbours (new_arena_range); a resource
  crossing an arena's edge gets a resource of its own (no heap can hold it whole; logged once).
  Unit test with the issue's sequence.
- Until the title has passed a fence to Signal / Wait, queue slot xcl-dev#18 is GetDesc on the older
  layout and GetTimestampFrequency (a UINT64 out-parameter) on the newer one. A GetDesc answered
  in full wrote 16 bytes into a newer title's UINT64: now only the descriptor's first 8 bytes
  until a fence tells the layout (one at xcl-dev#14 / xcl-dev#15: the older layout).
ivall added a commit that referenced this pull request Nov 23, 2026
@ivall

ivall commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Thanks – closing as a duplicate of #121 + #122 (both merged), which cover the same two items with tests.

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