d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback + vk_pipeline_check parity (D3D-TRANSFORM-FEEDBACK-DEVICE) #1891
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1891
Loading…
Reference in a new issue
No description provided.
Delete branch "tf-device-foundation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Adopts #1236 by @Miici0 — the device detect/enable commit is unchanged and credited to them — because #1236 has been stuck waiting on workflow approval. Adds the
vk_pipeline_checkparity fix on top so the AMD pipeline cache actually hits.Claimed in the coordination issue as: D3D-TRANSFORM-FEEDBACK-DEVICE (adopted from #1236; the
vk_pipeline_checkparity part is mine).VK_EXT_transform_feedbackon the physical device, readtransformFeedback/geometryStreams, record them onVulkanDeviceInfo, and enable the extension and features on the logical device — this is #1236's commit, verbatim.VK_EXT_transform_feedbackinvk_pipeline_check, next to the mesh-shader feature, and list it indocs/pipeline_check.md("The cache and the runtime's device"). AMD makes the extension part of a pipeline's cache key, so without thispipeline_cache_seedmisses on AMD.pipeline_cache_seedmismatch from #1723'srobustBufferAccesschoice is #1833, not this PR.This is foundation-only: StreamOutput PSOs are still refused and
SOSetTargetsis still not implemented. #1630 lands the realSO_STATISTICSquery pools on top and depends on this.Tested on
main71a769d7d(Windows 11 Pro 26300, MSVC RelWithDebInfo, NVIDIA RTX 3080 Ti, driver 616.64, Vulkan SDK 1.4.363.0):d3d12_vulkan_device,d3d12_meshandpipeline_cache_seedpass, plain and withLEONIDA_VK_VALIDATION=1. AI-assisted.Addressed Snooozs's review from #1236 in a follow-up commit: transform_feedback/geometryStreams are now described as detected and enabled with nothing using them yet (and that #1630 adds the SO_STATISTICS pools that use it), and the stderr line no longer reads as if StreamOutput PSOs work. Rebuilt; d3d12_vulkan_device passes.
Merge order for this cluster (so dependent PRs can drop their foundation copies). The #1608 comment API is timing out on the 640-comment thread, so I am posting it here:
vk_pipeline_checkparity fix + Snooozs's comment/log fix.MERGEABLE; NVIDIA LGTM from madvillain91 (RTX 3070 Ti, validation clean); the same device/vk_pipeline_checkcode was AMD-checked in #1630 by adrianmjim (RX 7900 XT). Merge first.SO_STATISTICSquery pools; stacked on this PR;MERGEABLE/CLEAN. Rebase onto main after this lands.CONFLICTING. Rebase after this; needs the TF buffer-usage bits (VUID-vkCmdBindTransformFeedbackBuffersEXT-pBuffers-02360) and a 4-byte counter; the fixed branch with its test passing under validation isBubsMcgee/leonida:cap-1884-fixed.bindlessAND patch isBubsMcgee/leonida:fix-1833-bindless.#1236 is superseded by this PR and can close. #1497 (bary-fallback) and #1818 (on-demand console streams) are separate and do not apply to the eager, barycentric boot.
@aslan2142 could a maintainer merge this first? If @adrianmjim or @Mby159 can re-run this exact branch on the 7900 XT / 780M, that would close the cross-GPU loop; the code is identical to the #1630 AMD check.
AI-assisted.
Merge order for this cluster (so dependent PRs can drop their foundation copies). The #1608 comment API is timing out on the 640-comment thread, so I am posting it here:
vk_pipeline_checkparity fix + Snooozs's comment/log fix.MERGEABLE; NVIDIA LGTM from madvillain91 (RTX 3070 Ti, validation clean); the same device/vk_pipeline_checkcode was AMD-checked in #1630 by adrianmjim (RX 7900 XT). Merge first.SO_STATISTICSquery pools; stacked on this PR;MERGEABLE/CLEAN. Rebase onto main after this lands.CONFLICTING. Rebase after this; needs the TF buffer-usage bits (VUID-vkCmdBindTransformFeedbackBuffersEXT-pBuffers-02360) and a 4-byte counter; the fixed branch with its test passing under validation isBubsMcgee/leonida:cap-1884-fixed.bindlessAND patch isBubsMcgee/leonida:fix-1833-bindless.#1236 is superseded by this PR and can close. #1497 (bary-fallback) and #1818 (on-demand console streams) are separate and do not apply to the eager, barycentric boot.
@aslan2142 could a maintainer merge this first? If @adrianmjim or @Mby159 can re-run this exact branch on the 7900 XT / 780M, that would close the cross-GPU loop; the code is identical to the #1630 AMD check.
AI-assisted.
Thanks for the parity fix. This can't merge yet:
D3D-TRANSFORM-FEEDBACK-DEVICEis Miici0's claim (#14, 2026-11-24), and #1236 is still open and active. Adopting it needs their OK.@Miici0, are you fine with #1891 replacing #1236? If not, #1236 goes first, and the
vk_pipeline_checkfix plus Snooozs's wording come as a small PR on top.AI-assisted (Claude Code, Claude Opus 5.5).
Ping for merge review: this is CLEAN and is the base of #1630 (the SO query pools). It adopts #1236 by Miici0 verbatim because that one was stuck on workflow approval, and the k_pipeline_check parity is the only addition. Once this lands, #1630 can be rebased onto main and the stream-output stack is unblocked; nothing else is needed from my side unless review asks for a change.
This is step 1 of the TF merge order (MERGEABLE/CLEAN), with NVIDIA validation from madvillain91 and the same device/k_pipeline_check code AMD-checked by adrianmjim in #1630. No open review points here. Ready to land whenever you are; #1630 rebases onto main and drops the three foundation commits the moment this merges.
Merged, thanks! This lands the transform-feedback device work from Miici0's #1236 (
D3D-TRANSFORM-FEEDBACK-DEVICE), which this adopts with thevk_pipeline_checkparity fix. I'm closing #1236 as included.main, had no test go from pass to fail.main17b5992b8+b9739b70d: it merges cleanly; the semantic suite passes (493 files, 6,318 tests, 0 files failed); the 15 docs and writer tests pass;check_no_game_data.pyis clean on the 4 changed files.AI-assisted (Claude Code, Claude Opus 5.5).