[PR #799] [CLOSED] d3d12: support separate front/back stencil masks in DEPTH_STENCIL2 streams #837

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/799
Author: @kotekompotek
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: work/d3d12-stencil-separate-masks


📝 Commits (1)

  • a3c28bd d3d12: support separate front/back stencil masks in DEPTH_STENCIL2 streams

📊 Changes

3 files changed (+95 additions, -12 deletions)

View changed files

📝 docs/d3d12_vulkan.md (+3 -2)
📝 runtime/shims/d3d12_vulkan_device.cpp (+22 -10)
📝 runtime/test/d3d12_bundle_test.cpp (+70 -0)

📄 Description

Claimed in the coordination issue as: coordination issue #14

What and why

  • Rebased onto current main.
  • Supported separate front/back stencil read and write masks in D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2 streams (runtime/shims/d3d12_vulkan_device.cpp), added stream test cases in runtime/test/d3d12_bundle_test.cpp, and synced docs/d3d12_vulkan.md.

Tested

  • Built d3d12_com_test and ran ctest -R ^d3d12_com$ (Passed, 1.65s). (d3d12_bundle_test requires glslangValidator, which is not installed in this local environment.)

GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows)

AI-assisted: yes

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/799 **Author:** [@kotekompotek](https://github.com/kotekompotek) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `work/d3d12-stencil-separate-masks` --- ### 📝 Commits (1) - [`a3c28bd`](https://github.com/ubiquitarianism/leonida/commit/a3c28bdd3b16d2c9d7b39dc36b498dd0b98b7533) d3d12: support separate front/back stencil masks in DEPTH_STENCIL2 streams ### 📊 Changes **3 files changed** (+95 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docs/d3d12_vulkan.md` (+3 -2) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+22 -10) 📝 `runtime/test/d3d12_bundle_test.cpp` (+70 -0) </details> ### 📄 Description Claimed in the coordination issue as: coordination issue #14 ### What and why - Rebased onto current `main`. - Supported separate front/back stencil read and write masks in `D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2` streams (`runtime/shims/d3d12_vulkan_device.cpp`), added stream test cases in `runtime/test/d3d12_bundle_test.cpp`, and synced `docs/d3d12_vulkan.md`. ### Tested - Built `d3d12_com_test` and ran `ctest -R ^d3d12_com$` (`Passed`, 1.65s). (`d3d12_bundle_test` requires `glslangValidator`, which is not installed in this local environment.) GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] 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 20:19:12 +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#837
No description provided.