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

Open
opened 2026-11-26 20:19:59 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1032
Author: @TanmaySatyam
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: test/old-10031-image-sample-d


📝 Commits (1)

  • ce8e0d9 test: SPIR-V translation tests for image_sample_d and image_sample_d_cl

📊 Changes

1 file changed (+440 additions, -0 deletions)

View changed files

➕ tests/test_image_sample_d_translate.py (+440 -0)

📄 Description

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1032 **Author:** [@TanmaySatyam](https://github.com/TanmaySatyam) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `test/old-10031-image-sample-d` --- ### 📝 Commits (1) - [`ce8e0d9`](https://github.com/ubiquitarianism/leonida/commit/ce8e0d95715dd604750be6d893b94aacd3b4c1f2) test: SPIR-V translation tests for image_sample_d and image_sample_d_cl ### 📊 Changes **1 file changed** (+440 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/test_image_sample_d_translate.py` (+440 -0) </details> ### 📄 Description ### 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1069
No description provided.