test: SPIR-V translation tests for image_sample_d and image_sample_d_cl (OLD-10031) #1032

Open
github-bot wants to merge 1 commit from github-bot/gh-1032 into main AGit
Owner

@⁠TanmaySatyam on GitHub · 2026-11-24 17:04 UTC · original
TanmaySatyam:test/old-10031-image-sample-d → main · +440 −0 · 1 files · 1 commits · open

Summary

Claims and carries OLD-10031 (Draft PR #299, old-pr/10031 authored by @⁠Ritolino, original authorship preserved cleanly onto main):

  • Adds ests/test_image_sample_d_translate.py (12 unit tests) exercising SPIR-V translation of image_sample_d and image_sample_d_cl (explicit gradients, optional clamp, 1D/2D/3D/array/cube dimensions, and spirv-as + spirv-val validation).

Verification

  • Unit & translation tests (Windows 11, Python 3.12, RTX 5070 host, Vulkan SDK spirv-as/spirv-val):
    • python -I tests/test_image_sample_d_translate.py -> 12/12 OK (0.272 s)
    • python -I tests/test_text_write_line_endings.py -> 3/3 OK
    • python -m compileall -q tests/test_image_sample_d_translate.py -> exit
**@⁠TanmaySatyam** on GitHub · 2026-11-24 17:04 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1032) `TanmaySatyam:test/old-10031-image-sample-d` → `main` · +440 −0 · 1 files · 1 commits · open ### Summary Claims and carries **OLD-10031** (Draft PR #299, old-pr/10031 authored by @⁠Ritolino, original authorship preserved cleanly onto main): - Adds ests/test_image_sample_d_translate.py (12 unit tests) exercising SPIR-V translation of image_sample_d and image_sample_d_cl (explicit gradients, optional clamp, 1D/2D/3D/array/cube dimensions, and spirv-as + spirv-val validation). ### Verification - **Unit & translation tests (Windows 11, Python 3.12, RTX 5070 host, Vulkan SDK spirv-as/spirv-val):** - python -I tests/test_image_sample_d_translate.py -> 12/12 OK (0.272 s) - python -I tests/test_text_write_line_endings.py -> 3/3 OK - python -m compileall -q tests/test_image_sample_d_translate.py -> exit
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:34:27 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1032/head:github-bot/gh-1032'
git switch 'github-bot/gh-1032'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1032'
git switch 'github-bot/gh-1032'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1032'
git switch 'github-bot/gh-1032'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1032'
git switch 'main'
git merge --squash 'github-bot/gh-1032'
git switch 'main'
git merge --ff-only 'github-bot/gh-1032'
git switch 'main'
git merge 'github-bot/gh-1032'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.