mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #1432] [CLOSED] d3d12: replay tessellation pipelines with IA patch sizes (D3D-TESSELLATION) #1461
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#1461
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/1432
Author: @PyZikYG
Created: 11/25/2026
Status: ❌ Closed
Base:
main← Head:d3d12-tessellation-patches📝 Commits (1)
b22bc56d3d12: replay tessellation pipelines with IA patch sizes📊 Changes
9 files changed (+301 additions, -34 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+9 -3)📝
runtime/CMakeLists.txt(+16 -1)📝
runtime/shims/d3d12_vulkan_device.cpp(+49 -26)📝
runtime/src/shader_library.h(+1 -1)📝
runtime/src/vulkan_replay.h(+13 -3)➕
runtime/test/d3d12_tessellation_test.cpp(+183 -0)➕
runtime/test/glsl/tess_patch.tesc(+20 -0)➕
runtime/test/glsl/tess_patch.tese(+9 -0)📝
runtime/test/vk_test_device.h(+1 -0)📄 Description
Claimed in the coordination issue as: D3D-TESSELLATION.
What and why
Accept linked hull and domain shader modules from the shader library in a D3D12 graphics PSO. Replay selects a Vulkan pipeline variant using the IA patch control-point count and the existing attachment mask. This permits different patch sizes with one D3D12 PSO without requiring extended dynamic state for patch control points.
This contributes to runtime compatibility. The catalogued 1.0.2.1 shader set has no hull or domain shaders. HS/DS translation and pipelines that combine tessellation with a geometry stage remain open.
Tested
Verified rendered output from both 3- and 4-control-point patch lists using one PSO. Also checked mismatched PSO descriptions and command-list topology, existing geometry and mesh draws, and the replay benchmark self-test.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.