[PR #988] root_signature_oracle_test: check the flag word without the heap-direct bits where the host can't serialize them (OLD-4731) #1025

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/988
Author: @Snooozs
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: carry-old-4731


📝 Commits (1)

  • 4bb1a09 root_signature_oracle_test: check the flag word without the heap-direct bits where the host can't serialize them

📊 Changes

1 file changed (+19 additions, -4 deletions)

View changed files

📝 runtime/test/root_signature_oracle_test.cpp (+19 -4)

📄 Description

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

What and why

Carries on Felix Croasdale's old pull request 4731, 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 built-in d3d12.dll refuses the two heap-direct root-signature flags (Shader Model 6.6). The test asks the host first; where it cannot serialize them it prints SKIP for those bits and still round-trips the other seven flags.

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 "^root_signature_oracle$":

  • main 3ed8e50b7: fails, Unsupported bit-flag set (root signature flags c7f)
  • 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/988 **Author:** [@Snooozs](https://github.com/Snooozs) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry-old-4731` --- ### 📝 Commits (1) - [`4bb1a09`](https://github.com/ubiquitarianism/leonida/commit/4bb1a09c4cf19bc2abe4b2e15d57f50a2f0f031e) root_signature_oracle_test: check the flag word without the heap-direct bits where the host can't serialize them ### 📊 Changes **1 file changed** (+19 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/root_signature_oracle_test.cpp` (+19 -4) </details> ### 📄 Description Claimed in the coordination issue as: OLD-4731 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137704829) ### What and why Carries on Felix Croasdale's old pull request 4731, 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 built-in d3d12.dll refuses the two heap-direct root-signature flags (Shader Model 6.6). The test asks the host first; where it cannot serialize them it prints SKIP for those bits and still round-trips the other seven flags. ### 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 "^root_signature_oracle$"`: - `main` 3ed8e50b7: fails, `Unsupported bit-flag set (root signature flags c7f)` - 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#1025
No description provided.