[PR #1060] Compare tier C references against a verified 32-wide draw (TEST-W64G-REF-DEFAULT) #1095

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

📋 Pull Request Information

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

Base: main ← Head: test/w64g-reference-default


📝 Commits (1)

  • fc5d08b Compare tier C references against a verified 32-wide draw (TEST-W64G-REF-DEFAULT)

📊 Changes

2 files changed (+51 additions, -13 deletions)

View changed files

📝 runtime/test/shaders/w64_graphics.py (+19 -12)
📝 tests/test_w64_graphics_reference.py (+32 -1)

📄 Description

Claimed as TEST-W64G-REF-DEFAULT in #14.

What and why

With a saved 64-lane reference and a 64-wide default, the tier C checker could report a failure after a successful comparison of the forced 32- and 64-wide draws. It tested the default draw a second time and required a 64-wide result to differ from its own reference.

Use the confirmed 32-wide draw for the cross-width comparison. The default draw is also usable when the harness reports a fixed 32-wide device, including for vertex or geometry stages without an applied width request. A 64-only or unverified default cannot complete the comparison. The checks for partition-invariant words and for a difference in the partition-dependent words still apply.

Tested

  • Windows 11, Python 3.12.10. CPU replay reproduced the false failures before the fix. The three focused reference, probe and argument suites passed (13 tests). The matrix includes dual-width devices with both defaults, fixed 32/64, and a default whose width cannot be established.
  • On an RTX 5070 Ti (610.74, subgroup range 32–32), the hand-written A and B fragment fixtures passed. Tier C passed against an explicitly CPU-generated 64-lane control and skipped when it was absent. Native 64-wide cases were verified by CPU replay.
  • All 10 wave64 fixture classification and checker tests passed with LLVM and SPIRV-Tools available. The translator semantic suite passed all 6,168 tests across 470 files.
  • The game-data check passed for both changed files.

AI-assisted: yes, OpenAI Codex.


🔄 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/1060 **Author:** [@sodove](https://github.com/sodove) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `test/w64g-reference-default` --- ### 📝 Commits (1) - [`fc5d08b`](https://github.com/ubiquitarianism/leonida/commit/fc5d08b8c6b2bfce4597cfe92a09e15bd083ab19) Compare tier C references against a verified 32-wide draw (TEST-W64G-REF-DEFAULT) ### 📊 Changes **2 files changed** (+51 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/w64_graphics.py` (+19 -12) 📝 `tests/test_w64_graphics_reference.py` (+32 -1) </details> ### 📄 Description Claimed as `TEST-W64G-REF-DEFAULT` in [#14](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7139030018). ### What and why With a saved 64-lane reference and a 64-wide default, the tier C checker could report a failure after a successful comparison of the forced 32- and 64-wide draws. It tested the default draw a second time and required a 64-wide result to differ from its own reference. Use the confirmed 32-wide draw for the cross-width comparison. The default draw is also usable when the harness reports a fixed 32-wide device, including for vertex or geometry stages without an applied width request. A 64-only or unverified default cannot complete the comparison. The checks for partition-invariant words and for a difference in the partition-dependent words still apply. ### Tested - Windows 11, Python 3.12.10. CPU replay reproduced the false failures before the fix. The three focused reference, probe and argument suites passed (13 tests). The matrix includes dual-width devices with both defaults, fixed 32/64, and a default whose width cannot be established. - On an RTX 5070 Ti (610.74, subgroup range 32–32), the hand-written A and B fragment fixtures passed. Tier C passed against an explicitly CPU-generated 64-lane control and skipped when it was absent. Native 64-wide cases were verified by CPU replay. - All 10 wave64 fixture classification and checker tests passed with LLVM and SPIRV-Tools available. The translator semantic suite passed all 6,168 tests across 470 files. - The game-data check passed for both changed files. AI-assisted: yes, OpenAI Codex. --- <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#1095
No description provided.