mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:30:52 +01:00
[PR #1258] rdna2spirv: guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes (OLD-9827) #1290
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#1290
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/1258
Author: @ambroseautomation
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-9827-bvh-exec-guard📝 Commits (1)
85ea3e7rdna2spirv: guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes📊 Changes
2 files changed (+51 additions, -1 deletions)
View changed files
📝
tests/semantic/test_image_bvh_box.py(+42 -0)📝
tools/rdna2spirv.py(+9 -1)📄 Description
Claimed in the coordination issue as: OLD-9827 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7144109503)
What and why
Carries forward
old-pr/9827(draft #95, original commit authorLewandoxpreserved; indexed in #17), rebased cleanly onto currentmain.Guards
image_bvh*_intersect_rayPhysicalStorageBufferloads on activeEXEClanes intools/rdna2spirv.py:OpSelectionMerge/OpBranchConditionalgated onself.active_b(), so inactive lanes (EXEC == 0) in divergent traversal loops never dereference stale or null node pointers and leavevdstuntouched.test_inactive_lane_skips_memory_reads_and_preserves_dstintests/semantic/test_image_bvh_box.py.Tested
python -m unittest discover -s tests/semantic -p test_image_bvh_box.py -v: 5 tests, OK.python -m unittest discover -s tests/semantic -p test_image_bvh_tri.py -v: 7 tests, OK.python -I scripts/run_semantic_tests.py tests/semantic: 470 files, 6,169 tests, 0 files failed.python -I scripts/check_no_game_data.py tools/rdna2spirv.py tests/semantic/test_image_bvh_box.py: exit 0 (no game data).GPUs tested: n/a (CPU SPIR-V interpreter semantic suite on Windows 11 Pro 64-bit, Python 3.12.10)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — EXEC guard on existingimage_bvhPSB loads)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.