Skip to content

docs: d3d12_vulkan.md section 3.2 known gaps match main - #788

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
ismailchaka1:bindless-flush-idle
Nov 22, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
ismailchaka1:bindless-flush-idle

Conversation

@ismailchaka1

Copy link
Copy Markdown
Contributor

New PROC item, claimed in #634. Docs only; each point checked against the code on main (67204bf).

  • The bindless flush already waits. The text said a flush that erases keys or grows the table "should wait", and that "the queue cannot yet tell the device that it is idle". Since D3D-76 (e6eaecd), the device's flush hook (runtime/shims/d3d12_vulkan_device.cpp, the set_bindless_prepare callback) waits for idle under the submit mutex when flush_needs_idle() is true, then calls release_retired(). The text now says so, and notes that the wait stalls every queue, so a per-queue wait is still open.
  • Reserved resources exist. CreateReservedResource is on main, but "placed and reserved resources" was still listed as a gap. Now it reads "placed resources".
  • A broken, duplicated gap list. The first "Known gaps" list stopped mid-sentence at "depth-stencil resolves," right before the 3D render-target paragraph. It was most likely cut by a merge, and the full list follows that paragraph. It also listed "volume attachment views", which that paragraph describes as supported. The broken copy is removed, and its one extra detail (UAV clears read the descriptor bytes) moves into the full list.

Not changed: the other gaps (buffer and constant-buffer views, root signatures, PSOs, draws, placed resources, GetGPUVirtualAddress, 1D textures, default-heap zero-fill, the GCL8 stencil references) are still true on main; several are in open PRs (#291, #561, #655).

AI-assisted.

- The bindless flush already waits: when flush_needs_idle() is true the
  device waits for idle and frees the retired table buffers (D3D-76,
  e6eaecd). The text still said the queue could not tell the device.
- Reserved resources exist (CreateReservedResource); they were still
  listed as a gap.
- The first "Known gaps" list was cut off mid-sentence by a merge, right
  before the 3D render-target paragraph, and listed volume attachment
  views, which that paragraph describes as supported. It is folded into
  the complete list after the paragraph.
@kapitche

Copy link
Copy Markdown
Contributor

Reviewed 4703774 (docs only). I checked each claim against main:

  • set_bindless_prepare (d3d12_vulkan_device.cpp:1148) calls vkDeviceWaitIdle under the submit mutex when flush_needs_idle(), so "stalls every queue" is accurate.
  • CreateReservedResource exists (line 1673).
  • 3D render targets are already described as supported, so dropping that gap is right.
  • The removed duplicate list was a fragment of the full one that follows.

@ItsNotRexed
ItsNotRexed merged commit 918ef69 into ItsNotRexed:main Nov 22, 2026
6 checks passed
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.

3 participants