[PR #990] [CLOSED] d3d12_set_descriptor_heaps_test: set the heap-direct root-signature flag word by hand where the host serializer refuses it (OLD-7718) #1026

Closed
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/990
Author: @Snooozs
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: carry-old-7718


📝 Commits (1)

  • 89d2408 d3d12_set_descriptor_heaps_test: set the heap-direct root-signature flag word by hand where the host serializer refuses it (Windows 10)

📊 Changes

1 file changed (+15 additions, -1 deletions)

View changed files

📝 runtime/test/d3d12_set_descriptor_heaps_test.cpp (+15 -1)

📄 Description

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

What and why

Carries on MeNoSkills's old pull request 7718, 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.

Windows 10's serializer refuses the heap-direct flags and returns no blob. The test then serializes the signature without flags and writes the flag word into the RTS0 chunk, so the layer's parser is still checked with the bits set.

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_set_descriptor_heaps$":

  • main 3ed8e50b7: fails, line 341: CHECK failed: !blob.empty()
  • 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/990 **Author:** [@Snooozs](https://github.com/Snooozs) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `carry-old-7718` --- ### 📝 Commits (1) - [`89d2408`](https://github.com/ubiquitarianism/leonida/commit/89d240867151caa05d86a8d9adeedf51748eea10) d3d12_set_descriptor_heaps_test: set the heap-direct root-signature flag word by hand where the host serializer refuses it (Windows 10) ### 📊 Changes **1 file changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/d3d12_set_descriptor_heaps_test.cpp` (+15 -1) </details> ### 📄 Description Claimed in the coordination issue as: OLD-7718 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137704829) ### What and why Carries on MeNoSkills's old pull request 7718, 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. Windows 10's serializer refuses the heap-direct flags and returns no blob. The test then serializes the signature without flags and writes the flag word into the RTS0 chunk, so the layer's parser is still checked with the bits set. ### 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_set_descriptor_heaps$"`: - `main` 3ed8e50b7: fails, `line 341: CHECK failed: !blob.empty()` - 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>
4ld0 2026-11-26 20:19:50 +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#1026
No description provided.