[PR #1839] GPU-SPIRV-AS-DIAGNOSTICS: Preserve spirv-as diagnostics containing undecodable bytes #1852

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1839
Author: @delysidemanYT1
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: gpu-spirv-as-diagnostics


📝 Commits (1)

  • 65c673e GPU-SPIRV-AS-DIAGNOSTICS: Preserve spirv-as diagnostics containing undecodable bytes

📊 Changes

2 files changed (+9 additions, -1 deletions)

View changed files

📝 scripts/run_gpu_tests.py (+1 -1)
📝 tests/test_run_gpu_tests_python_assembler.py (+8 -0)

📄 Description

Claimed in the coordination issue as: GPU-SPIRV-AS-DIAGNOSTICS
Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7163027205

Use UTF-8 for external helper shader assembly and escape undecodable output bytes. A synthetic assembler emitting an invalid byte previously lost its diagnostic; the new regression test checks that the original message remains visible.

Targeted checks on Windows: python -m unittest discover -s tests -p test_run_gpu_tests_python_assembler.py and git diff --check. No game files. AI-assisted (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/1839 **Author:** [@delysidemanYT1](https://github.com/delysidemanYT1) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `gpu-spirv-as-diagnostics` --- ### 📝 Commits (1) - [`65c673e`](https://github.com/ubiquitarianism/leonida/commit/65c673e3fe682d54f3527753e55ab8341f48c0d1) GPU-SPIRV-AS-DIAGNOSTICS: Preserve spirv-as diagnostics containing undecodable bytes ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/run_gpu_tests.py` (+1 -1) 📝 `tests/test_run_gpu_tests_python_assembler.py` (+8 -0) </details> ### 📄 Description Claimed in the coordination issue as: GPU-SPIRV-AS-DIAGNOSTICS Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7163027205 Use UTF-8 for external helper shader assembly and escape undecodable output bytes. A synthetic assembler emitting an invalid byte previously lost its diagnostic; the new regression test checks that the original message remains visible. Targeted checks on Windows: python -m unittest discover -s tests -p test_run_gpu_tests_python_assembler.py and git diff --check. No game files. AI-assisted (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#1852
No description provided.