mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:25:53 +01:00
[PR #2160] [MERGED] test_image_load_typed: model tagged descriptor hits #2164
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#2164
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/2160
Author: @whoalin1
Created: 11/26/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:image-load-typed-desc-model📝 Commits (1)
a64c4c1test_image_load_typed: model tagged descriptor hits📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
tests/test_image_load_typed.py(+5 -0)📄 Description
Summary
tests/test_image_load_typed.pywent red after #2098 because the tagged descriptor probe now returns(index, kind)as%desc_hit, while the test's small branch evaluator still modelled%desc_lookup_fnas returning the bare integer index. Extracting component 1 therefore indexed an int.This updates only the test model: a tagged hit is a composite of the supplied index and a sampled-only kind word (sampled-dimension bits set, no storage-array bits); a miss remains index zero. No translator or runtime behavior changes.
Verification
Under the machine lock:
python -m compileall -q tests/test_image_load_typed.py tools/rdna2spirv.py— passorigin/maincopy oftests/test_image_load_typed.py— 28 run, 7 errors (TypeError: 'int' object is not subscriptable)python -I tests/test_image_load_typed.py— 28 run, OKNo game data or GPU required.
AI-assisted (Devin).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.