mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
[PR #117] tests/semantic: narrow EXEC in test_image_atomics_guard so dynamic %active guard is exercised #169
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#169
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/117
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9851📝 Commits (1)
db5bca4tests/semantic: narrow EXEC in test_image_atomics_guard so dynamic %active guard is exercised📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
tests/semantic/test_image_atomics_guard.py(+2 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116717748
What and why
On
main@2d53a8055,tests/semantic/test_image_atomics_guard.pyfails all 47 subtests (OpImageTexelPointer in unguarded block). Because none of the synthetic test shaders modifyEXEC,rdna2spirv'sexec_always_onoptimization folds%activeto constant%true, soOpBranchConditional %trueis emitted instead ofOpLoad %bool %active.Prepends
v_cmpx_ne_u32_e32 0, v7intranslate()soEXECis dynamically narrowed andrdna2spirvemits the real%activeguard that the test suite is designed to verify.Verification (Windows 11 Home 26H2, CPython 3.11.9, SPIRV-Tools v2026.4, no game files)
e56d97950/2d53a8055):python -I -m unittest discover -s tests/semantic -p test_image_atomics_guard.py-> FAILED (47 failures).python -I -m unittest discover -s tests/semantic -p test_image_atomics_guard.py -v-> 3/3 tests (all 47 subtests) OK in 3.115s (includingspirv-as+spirv-val --target-env vulkan1.3).python -I scripts/check_no_game_data.py tests/semantic/test_image_atomics_guard.py: clean (rc=0).git diff --check: clean (rc=0).AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.