mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1236] [CLOSED] d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback (D3D-TRANSFORM-FEEDBACK-DEVICE) #1268
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1268
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1236
Author: @Miici0
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:feat/d3d-transform-feedback-device📝 Commits (1)
c99f265d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback📊 Changes
2 files changed (+30 additions, -0 deletions)
View changed files
📝
runtime/shims/d3d12_com.h(+7 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+23 -0)📄 Description
Claimed in the coordination issue as: D3D-TRANSFORM-FEEDBACK-DEVICE (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143836989)
Depends on: none
Fixes: none
What and why
Foundation for D3D-302 (stream output, docs/d3d12_vulkan.md): detects
VK_EXT_transform_feedbackand reads itstransformFeedback/geometryStreamsfeatures on the physical device where the extension is present, records them on the newVulkanDeviceInfo::transform_feedback/transform_feedback_geometry_streamsfields, and enables them on the logical device - the same detect/record/enable pattern the existingVK_EXT_mesh_shadercode already uses a few lines above.This is device-capability plumbing only, no behaviour change: a graphics PSO that declares
StreamOutputis still refused withE_NOTIMPLandSOSetTargetsis still not implemented, exactly as onmaintoday. Actually implementing stream output (accepting the PSO, binding real buffers inSOSetTargets, wrapping draws invkCmdBeginTransformFeedbackEXT/EndTransformFeedbackEXT, and wiring theSO_STATISTICSqueries toVK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT) is separate, larger follow-up work.Tested
ctest --test-dir runtime/build -C RelWithDebInfo -R "d3d12_vulkan_device|d3d12_mesh|xbox_present_readback_size": 3/3 pass. Fullruntime/buildcompiles clean (these two files are included by ~100 translation units; all rebuilt without warnings from this change).A standalone probe confirmed
VK_EXT_transform_feedbackis available on this GPU withtransformFeedback/geometryStreamsboth true,maxTransformFeedbackStreams/maxTransformFeedbackBuffersboth 4 - matching D3D12's stream-output model (4 streams, 4 buffers) exactly, so there's no capability mismatch to work around when the real implementation lands.GPUs tested: NVIDIA GeForce RTX 4070 SUPER, driver 621.24, Windows 11 26300.9974, Vulkan SDK 1.4.363.1.
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.