Repository navigation
docs/d3d12_vulkan.md: drop stale "not yet" claims the runtime already covers, repair spliced text - #5422
docs/d3d12_vulkan.md: drop stale "not yet" claims the runtime already covers, repair spliced text#5422lines9686-rgb wants to merge 6 commits into
Conversation
… covers, and repair spliced text Queues each lease their own VkQueue, a CPU fence Signal is held behind pending GPU signals, 1D textures and 1D DSVs exist, default-heap buffers are zeroed, PSOs bind set 0 and honour IBStripCutValue, literal S#s are registered at PSO creation, shader-visible heap GPU handles reach shaders, resources are shared CONCURRENT across dedicated queue families, and question 13's uniform-buffer tail is not built (PSOs are refused). Also: a cut-off duplicate of the Known gaps paragraph, the variants table moved under its introduction, the xbox_present_test bullet pulled out of the sampler2 bullet, repeated sentences, the stale ESRAM note, the older duplicate row of question 20, and the matching stale comment in d3d12_com.cpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The revised Timestamps paragraph and the matching GetTimestampFrequency comment say that each D3D12 queue has its own VkQueue. A caller-owned device can still use one VkQueue for two live D3D12 queues. The timestamp frequency is shared in both configurations because timestampPeriod is a device property. I checked head
The empty-pool branch in AI-assisted. Synthetic inputs only. |
…e timestampPeriod is per device A caller-owned device without command_queues still gives every D3D12 queue the one legacy VkQueue, so "each queue has its own VkQueue" was not true there. Wording from @shdann's review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @shdann, right: a caller-owned device without |
Kam471
left a comment
There was a problem hiding this comment.
Head: a9a481214b2eb11bb517677c006f02584aa1b380
Windows 11, Python 3.13.7:
- All ten
tests/test_docs_*.py-> OK git diff --check main...HEAD-> clean
Spot-checked the new claims against the code: per-queue VkQueue lease (runtime/shims/d3d12_vulkan_device.cpp:8537), geometry stage in the PSO (:2711, :2751), register_literal_samplers at PSO creation (:2447, :2802, :3226), VK_SHARING_MODE_CONCURRENT (:477), 1D views (:413, :434). Consistent with the restored text. Docs-only plus one comment; no behavior change.
Verdict: LGTM.
|
Tested f61ab2f on NVIDIA GeForce RTX 5080 Laptop GPU, driver 621.14, Windows 11 (build 26300), MSVC 14.44, RelWithDebInfo: no regression. |
# Conflicts: # docs/d3d12_vulkan.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts them (sparse binding) With sparse buffers, a dedicated compute or transfer family without VK_QUEUE_SPARSE_BINDING_BIT is passed over for the graphics family (sparse_capable_queue_families). Pointed out by @Pierre-Kookis and @shdann on ItsNotRexed#5522. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @caltr98. The long |
|
Tested 203eeea merged with main 561b65a on Linux (WSL2) x86_64, Python 3.12.16 ( Docs plus a comment-only change in |
shayderrr
left a comment
There was a problem hiding this comment.
Review
Reviewed documentation in PR #5422: docs/d3d12_vulkan.md: drop stale "not yet" claims the runtime already covers, repair spliced text.
Scope: docs/d3d12_vulkan.md, runtime/shims/d3d12_com.cpp
Diff: +44 / -57 across 2 file(s).
The change stays inside the stated scope and the touched files line up with the description. No unrelated production paths are pulled in, and the stated behavior is directly exercised by the diff. I'm approving this one.
Reviewed by shayderrr via automated batch review.
|
Thanks @lines9686-rgb - I went through docs/d3d12_vulkan.md: drop stale "not yet" claims the runtime already covers, repair sp... and the diff around |
# Conflicts: # docs/d3d12_vulkan.md
Item: new DOC finding, claimed in #5361 (#5361 (comment)). Depends on: none.
docs/d3d12_vulkan.mdstill said "not yet" about things the runtime already does, mostly an older sentence left beside the newer one that contradicts it. Each change below was checked against the code on main3faac557; the text that matches the code stays, the stale text goes. Docs only, plus one stale code comment; no behaviour change.Stale "missing" claims
VkQueue" (Known gaps found in review) and "Every D3D12 queue shares oneVkQueuefor now" (Timestamps): each queue leases its own VkQueue of its type's family (d3d12_vulkan_device.cpp~8213, ~8536-8554), and a Wait before its Signal holds the batch (vulkan_backend.h~1463). Same stale sentence in theGetTimestampFrequencycomment (d3d12_com.cpp); the frequency is still shared becausetimestampPeriodis per device.VK_SHARING_MODE_EXCLUSIVE":queue_families.hpicks async-compute and transfer families andDeviceState::sharemakes resourcesCONCURRENTacross them.ID3D12Fence::Signalchecks only the semaphore's current value":Fence::Signalholds a CPU signal above a pending GPU one (d3d12_com.cpp~1139-1166).TEXTURE1Dresources are not supported by the layer": 1D RTV/DSV/SRV exist (d3d12_vulkan_device.cpp~5267, ~5363, ~5533;d3d12_texture1d_test). The copy comparison still doesn't cover 1D, and now says just that.vulkan_replay.h~3781), geometry and MSAA PSOs are built, andIBStripCutValuedrives primitive restart (~3797). The Known gaps line keeps what is still missing: tessellation and mesh pipelines, stream output, several viewports.register_literal_samplersruns at graphics and compute PSO creation (~2447, ~2802, ~3226).d3d12_com.cpp~965-973).ClearUnorderedAccessView*andResolveSubresourceneed the same check when added": both exist; transfers among them are counted inunpredicated_copies(vulkan_replay.h~2150).push_constants_fit()refuses those PSOs because the tail isn't built (~2643-2654), as section 5.2 already says.d3d12_xs.cppcomment that ab0cf03 removed.Spliced text
ResizeBuffers/BufferCountfragment repeated after the DXGI bullet; the variants table it pushed down now sits under "compares each answer below".xbox_present_testbullet pasted inside thed3d12_sampler2_testbullet.CreatePlacedResource2sentence and "(D3D-191)" each written twice.Left out on purpose because open PRs already change them: MSAA/set-0 in the "Refused with a log" line (#5271, #5128), stencil references and the shader cache session row (#5133), the segment-pool bullet (#5335), the BVH-builder row (#5334),
d3d12_uint_clear_test(#4592). This branch merges cleanly with each of them except #5128, where the conflict is only that #5128 edits question 14's row and this edits question 13's, the line above it.Tested: Windows 11 (26200), Python 3.12: every
tests/test_docs_*.pypasses; no test or tool reads any of the removed sentences (git grep);git diff --checkclean. No GPU or game files. AI-assisted (Claude Code).🤖 Generated with Claude Code