mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:30:53 +01:00
[PR #366] Tests: GPU coverage for v_add/sub_nc_i16, 16-bit min3/max3/med3 and v_pk_add_u16/v_pk_mad_i16 #418
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#418
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/366
Author: @KoLolX3
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:test/valu16-gpu📝 Commits (1)
b3c6d16Tests: GPU coverage for v_add/sub_nc_i16, 16-bit min3/max3/med3 and v_pk_add_u16/v_pk_mad_i16📊 Changes
4 files changed (+97 additions, -8 deletions)
View changed files
📝
docs/design.md(+3 -3)📝
runtime/test/shaders/check.py(+5 -2)➕
runtime/test/shaders/cs_valu16_ext.asm(+83 -0)📝
scripts/run_gpu_tests.py(+6 -3)📄 Description
Adds a synthetic GPU fixture for 16-bit integer add/sub, min/max/median and packed add/multiply-add translations.
Rebased on
main3f81d46a; the runner conflict retains the currentcs_w64x_cmp_sdstregistration. Removed stale “Not GPU-verified” text where the fixture adds verification.Tested on AMD Radeon RX 7900 XT (RADV NAVI31, Mesa 26.3.1, Linux): the fixture translated and passed
spirv-val, and all eight expected words matched with subgroup size 32 in native andLEONIDA_W64_EMULATE=1builds.python -I tests/test_run_gpu_tests.pypassed 68 tests; the semantic suite passed 6,279 tests in 487 files. Compileall,make_game.py --help,check_no_game_data.pyon changed files andgit diff --checkpassed. Synthetic fixtures only, no game files.AI-assisted: yes (Claude Code and OpenAI Codex).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.