[PR #1924] [CLOSED] Stream output capture wip #1932

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1924
Author: @BubsMcgee
Created: 11/25/2026
Status: ❌ Closed

Base: main ← Head: stream-output-capture-wip


📝 Commits (4)

  • 13774f4 Store indirect signature argument types and replay VERTEX_BUFFER_VIEW/INDEX_BUFFER_VIEW state
  • cd65952 d3d12: stream output, SOSetTargets and real SO_STATISTICS query pools (D3D-302)
  • ac4a992 tests: enable VK_EXT_transform_feedback in vk_pipeline_check (D3D-302)
  • 4f05ff6 WIP: stream-output capture fixes (sType, gap-safe SO binds, filled-size counters, TF usage bits)

📊 Changes

11 files changed (+338 additions, -32 deletions)

View changed files

📝 README.md (+4 -2)
📝 docs/d3d12_vulkan.md (+13 -9)
📝 docs/pipeline_check.md (+4 -0)
📝 runtime/shims/d3d12_com.cpp (+31 -0)
📝 runtime/shims/d3d12_com.h (+7 -0)
📝 runtime/shims/d3d12_vulkan_device.cpp (+94 -7)
📝 runtime/src/command_list.h (+17 -0)
📝 runtime/src/vulkan_backend.h (+18 -1)
📝 runtime/src/vulkan_replay.h (+130 -7)
📝 runtime/test/d3d12_vulkan_device_test.cpp (+11 -2)
📝 runtime/test/vk_pipeline_check.cpp (+9 -4)

📄 Description

Claimed in the coordination issue as:

Depends on:

Fixes:

What and why

Tested

GPUs tested:

AI-assisted:

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

🔄 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/1924 **Author:** [@BubsMcgee](https://github.com/BubsMcgee) **Created:** 11/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `stream-output-capture-wip` --- ### 📝 Commits (4) - [`13774f4`](https://github.com/ubiquitarianism/leonida/commit/13774f4dffdaaa9045d937190dd5f79397597454) Store indirect signature argument types and replay VERTEX_BUFFER_VIEW/INDEX_BUFFER_VIEW state - [`cd65952`](https://github.com/ubiquitarianism/leonida/commit/cd65952f4ff9ea43f9adb05317e46ae4b2c9ebb6) d3d12: stream output, SOSetTargets and real SO_STATISTICS query pools (D3D-302) - [`ac4a992`](https://github.com/ubiquitarianism/leonida/commit/ac4a992edabdc3c95f67baa3f58b368a465cd29d) tests: enable VK_EXT_transform_feedback in vk_pipeline_check (D3D-302) - [`4f05ff6`](https://github.com/ubiquitarianism/leonida/commit/4f05ff666fae1ec0e0a80f59ca8bd3bf5d239da4) WIP: stream-output capture fixes (sType, gap-safe SO binds, filled-size counters, TF usage bits) ### 📊 Changes **11 files changed** (+338 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+4 -2) 📝 `docs/d3d12_vulkan.md` (+13 -9) 📝 `docs/pipeline_check.md` (+4 -0) 📝 `runtime/shims/d3d12_com.cpp` (+31 -0) 📝 `runtime/shims/d3d12_com.h` (+7 -0) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+94 -7) 📝 `runtime/src/command_list.h` (+17 -0) 📝 `runtime/src/vulkan_backend.h` (+18 -1) 📝 `runtime/src/vulkan_replay.h` (+130 -7) 📝 `runtime/test/d3d12_vulkan_device_test.cpp` (+11 -2) 📝 `runtime/test/vk_pipeline_check.cpp` (+9 -4) </details> ### 📄 Description Claimed in the coordination issue as: <!-- the item ID from the open "Coordinating who works on what" issue, for example TEST-17, or a link to your claim --> Depends on: <!-- #N for every pull request this one builds on or conflicts with (the coordination issue's Commands section, AGENTS.md); delete the line if it builds on none and conflicts with none --> Fixes: <!-- #N for each issue this closes (GitHub closes it on merge); delete the line if it closes none --> ### What and why <!-- What this changes and the problem it solves. --> ### Tested <!-- What you ran and on which GPU and driver (CONTRIBUTING.md). For the shader translator: how many shaders translate and pass spirv-val, before and after. --> GPUs tested: <!-- vendor, model, driver and OS of each GPU the GPU tests ran on, or n/a --> AI-assisted: <!-- yes or no (AGENTS.md asks a coding agent to say so) --> ### Checklist - [ ] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [ ] One topic; follow-up work goes in a new pull request. - [ ] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. --- <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:27 +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#1932
No description provided.