[PR #910] TEST-722-PSB-OPLOAD: move PSB OpLoad out of OpAccessChain and tighten ps_w64 checks #948

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/910
Author: @markankamaransheogarat-sys
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: ubiq/test-722-psb-load


📝 Commits (1)

  • 0e9abdc TEST-722 follow-up: move PSB OpLoad out of OpAccessChain and tighten ps_w64 checks

📊 Changes

3 files changed (+82 additions, -12 deletions)

View changed files

📝 tests/semantic/spirv_wave_interp.py (+5 -5)
📝 tests/semantic/test_spirv_wave_interp.py (+50 -0)
📝 tests/semantic/test_wave64_halves.py (+27 -7)

📄 Description

Summary

  • Move the unreachable if p[0] == "psb": load branch out of OpAccessChain into OpLoad in tests/semantic/spirv_wave_interp.py, fixing PhysicalStorageBuffer loads.
  • Tighten ps_w64 wave64/wave32 checks and add regression tests for PSB OpLoad in tests/semantic/test_spirv_wave_interp.py and tests/semantic/test_wave64_halves.py.

Verification

  • python3 -I tests/semantic/test_spirv_wave_interp.py: 20/20 passed.
  • python3 -I tests/semantic/test_wave64_halves.py: 126/126 passed.

AI-assisted: yes (synthetic tests only, no game files).


🔄 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/910 **Author:** [@markankamaransheogarat-sys](https://github.com/markankamaransheogarat-sys) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ubiq/test-722-psb-load` --- ### 📝 Commits (1) - [`0e9abdc`](https://github.com/ubiquitarianism/leonida/commit/0e9abdc7d4122adcd49200b416cf1b191eadc19a) TEST-722 follow-up: move PSB OpLoad out of OpAccessChain and tighten ps_w64 checks ### 📊 Changes **3 files changed** (+82 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tests/semantic/spirv_wave_interp.py` (+5 -5) 📝 `tests/semantic/test_spirv_wave_interp.py` (+50 -0) 📝 `tests/semantic/test_wave64_halves.py` (+27 -7) </details> ### 📄 Description ### Summary - Move the unreachable `if p[0] == "psb":` load branch out of `OpAccessChain` into `OpLoad` in `tests/semantic/spirv_wave_interp.py`, fixing PhysicalStorageBuffer loads. - Tighten `ps_w64` wave64/wave32 checks and add regression tests for PSB `OpLoad` in `tests/semantic/test_spirv_wave_interp.py` and `tests/semantic/test_wave64_halves.py`. ### Verification - `python3 -I tests/semantic/test_spirv_wave_interp.py`: 20/20 passed. - `python3 -I tests/semantic/test_wave64_halves.py`: 126/126 passed. AI-assisted: yes (synthetic tests only, no game files). --- <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#948
No description provided.