[PR #1891] [MERGED] d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback + vk_pipeline_check parity (D3D-TRANSFORM-FEEDBACK-DEVICE) #1901

Closed
opened 2026-11-26 21:19:21 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1891
Author: @BubsMcgee
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142

Base: main ← Head: tf-device-foundation


📝 Commits (3)

  • 9315a96 d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback
  • 34ab89f tests: enable VK_EXT_transform_feedback in vk_pipeline_check (D3D-302)
  • b9739b7 d3d12: describe VK_EXT_transform_feedback as detected/enabled, nothing uses it yet

📊 Changes

4 files changed (+44 additions, -4 deletions)

View changed files

📝 docs/pipeline_check.md (+4 -0)
📝 runtime/shims/d3d12_com.h (+7 -0)
📝 runtime/shims/d3d12_vulkan_device.cpp (+24 -0)
📝 runtime/test/vk_pipeline_check.cpp (+9 -4)

📄 Description

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_check parity 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_check parity part is mine).

  • Detect VK_EXT_transform_feedback on the physical device, read transformFeedback / geometryStreams, record them on VulkanDeviceInfo, and enable the extension and features on the logical device — this is #1236's commit, verbatim.
  • Enable VK_EXT_transform_feedback in vk_pipeline_check, next to the mesh-shader feature, and list it in docs/pipeline_check.md ("The cache and the runtime's device"). AMD makes the extension part of a pipeline's cache key, so without this pipeline_cache_seed misses on AMD.
  • The remaining AMD pipeline_cache_seed mismatch from #1723's robustBufferAccess choice is #1833, not this PR.

This is foundation-only: StreamOutput PSOs are still refused and SOSetTargets is still not implemented. #1630 lands the real SO_STATISTICS query pools on top and depends on this.

Tested on main 71a769d7d (Windows 11 Pro 26300, MSVC RelWithDebInfo, NVIDIA RTX 3080 Ti, driver 616.64, Vulkan SDK 1.4.363.0): d3d12_vulkan_device, d3d12_mesh and pipeline_cache_seed pass, plain and with LEONIDA_VK_VALIDATION=1. AI-assisted.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1891 **Author:** [@BubsMcgee](https://github.com/BubsMcgee) **Created:** 11/25/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `tf-device-foundation` --- ### 📝 Commits (3) - [`9315a96`](https://github.com/ubiquitarianism/leonida/commit/9315a96edcb5503d47f661d76d87dafc1c049e82) d3d12_vulkan_device: detect and enable VK_EXT_transform_feedback - [`34ab89f`](https://github.com/ubiquitarianism/leonida/commit/34ab89f896d129930e8860dc447bf6f9e8995924) tests: enable VK_EXT_transform_feedback in vk_pipeline_check (D3D-302) - [`b9739b7`](https://github.com/ubiquitarianism/leonida/commit/b9739b70d322a55bde016b92d0b8bb9691638d0e) d3d12: describe VK_EXT_transform_feedback as detected/enabled, nothing uses it yet ### 📊 Changes **4 files changed** (+44 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/pipeline_check.md` (+4 -0) 📝 `runtime/shims/d3d12_com.h` (+7 -0) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+24 -0) 📝 `runtime/test/vk_pipeline_check.cpp` (+9 -4) </details> ### 📄 Description 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_check` parity 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_check` parity part is mine). - Detect `VK_EXT_transform_feedback` on the physical device, read `transformFeedback` / `geometryStreams`, record them on `VulkanDeviceInfo`, and enable the extension and features on the logical device — this is #1236's commit, verbatim. - Enable `VK_EXT_transform_feedback` in `vk_pipeline_check`, next to the mesh-shader feature, and list it in `docs/pipeline_check.md` ("The cache and the runtime's device"). AMD makes the extension part of a pipeline's cache key, so without this `pipeline_cache_seed` misses on AMD. - The remaining AMD `pipeline_cache_seed` mismatch from #1723's `robustBufferAccess` choice is #1833, not this PR. This is foundation-only: StreamOutput PSOs are still refused and `SOSetTargets` is still not implemented. #1630 lands the real `SO_STATISTICS` query pools on top and depends on this. Tested on `main` `71a769d7d` (Windows 11 Pro 26300, MSVC RelWithDebInfo, NVIDIA RTX 3080 Ti, driver 616.64, Vulkan SDK 1.4.363.0): `d3d12_vulkan_device`, `d3d12_mesh` and `pipeline_cache_seed` pass, plain and with `LEONIDA_VK_VALIDATION=1`. AI-assisted. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:19:21 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1901
No description provided.