mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #521] rdna2spirv: route ds_add_f32, ds_cmpst_f32, and ds_*_addtid_b32 through lds_access bounds check #569
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#569
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/521
Author: @tahffo68hk-hash
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/shader-lds-bound-access📝 Commits (2)
b5ae35ardna2spirv: route ds_add_f32, ds_cmpst_f32, and ds_*_addtid_b32 through lds_access bounds check2055401test_lds_bound_access: parse SPIR-V body before check_structure and match %c180/%c17f📊 Changes
2 files changed (+166 additions, -29 deletions)
View changed files
➕
tests/semantic/test_lds_bound_access.py(+130 -0)📝
tools/rdna2spirv.py(+36 -29)📄 Description
Summary
(AI-assisted) Fixes SHADER-LDS-BOUND-ACCESS: in ools/rdna2spirv.py, three LDS handlers still called self.lds_ptr() directly instead of routing through self.lds_load() / self.lds_store() / self.lds_access():
When self.lds_bound is active (SHADER-309: a compute shader's LDS array is sized to its RSRC2 LDS_SIZE allocation rather than a power-of-two wrapped buffer):
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.