[PR #989] d3d12_close_parity_test: the unaligned footprint copies follow WARP's UnrestrictedBufferTextureCopyPitchSupported (OLD-6071) #1027

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/989
Author: @Snooozs
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: carry-old-6071


📝 Commits (1)

  • 325636d d3d12_close_parity_test: the unaligned footprint copies follow WARP's UnrestrictedBufferTextureCopyPitchSupported

📊 Changes

1 file changed (+27 additions, -6 deletions)

View changed files

📝 runtime/test/d3d12_close_parity_test.cpp (+27 -6)

📄 Description

Claimed in the coordination issue as: OLD-6071 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137704829)

What and why

Carries on Felix Croasdale's old pull request 6071, which has no old-pr/ branch. The commit is cherry-picked unchanged and keeps its author; it applies cleanly. If the author would rather carry it on, say so and I will close this.

Three unaligned CopyTextureRegion cases are marked layer-stricter against a WARP that accepts them. Windows 10's WARP has no OPTIONS13 and refuses them as the layer does, so the table was wrong there. The test asks the live WARP device and compares the three as matches where the feature is missing.

Tested

Windows 10 Pro 22H2 (10.0.19045), NVIDIA GeForce RTX 5060 Ti (621.01) and WARP, VS 2022 RelWithDebInfo, Vulkan SDK 1.4.363.0, ctest -R "^d3d12_close_parity$":

  • main 3ed8e50b7: fails, now matches WARP; mark it Known::match in the table (3 cases)
  • with this commit: passes

I have not run it on Windows 11. check_no_game_data.py on the changed file: clean. Test-only change.

GPUs tested: NVIDIA GeForce RTX 5060 Ti, driver 621.01, Windows 10 22H2

AI-assisted: yes. Claude Code (Claude Opus 5.5) restored, reviewed and tested the original commit.

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. (n/a: no translator rule)

🤖 Generated with Claude Code


🔄 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/989 **Author:** [@Snooozs](https://github.com/Snooozs) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry-old-6071` --- ### 📝 Commits (1) - [`325636d`](https://github.com/ubiquitarianism/leonida/commit/325636d6d0748a3f634d377538fef669e8d6f114) d3d12_close_parity_test: the unaligned footprint copies follow WARP's UnrestrictedBufferTextureCopyPitchSupported ### 📊 Changes **1 file changed** (+27 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/d3d12_close_parity_test.cpp` (+27 -6) </details> ### 📄 Description Claimed in the coordination issue as: OLD-6071 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137704829) ### What and why Carries on Felix Croasdale's old pull request 6071, which has no `old-pr/` branch. The commit is cherry-picked unchanged and keeps its author; it applies cleanly. If the author would rather carry it on, say so and I will close this. Three unaligned CopyTextureRegion cases are marked layer-stricter against a WARP that accepts them. Windows 10's WARP has no OPTIONS13 and refuses them as the layer does, so the table was wrong there. The test asks the live WARP device and compares the three as matches where the feature is missing. ### Tested Windows 10 Pro 22H2 (10.0.19045), NVIDIA GeForce RTX 5060 Ti (621.01) and WARP, VS 2022 RelWithDebInfo, Vulkan SDK 1.4.363.0, `ctest -R "^d3d12_close_parity$"`: - `main` 3ed8e50b7: fails, `now matches WARP; mark it Known::match in the table (3 cases)` - with this commit: passes I have not run it on Windows 11. `check_no_game_data.py` on the changed file: clean. Test-only change. GPUs tested: NVIDIA GeForce RTX 5060 Ti, driver 621.01, Windows 10 22H2 AI-assisted: yes. Claude Code (Claude Opus 5.5) restored, reviewed and tested the original commit. ### 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. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: no translator rule) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1027
No description provided.