mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #1652] OLD-10044: rdna2spirv: intra-block %vgpr/%sgpr value forwarding #1667
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#1667
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/1652
Author: @Tortoche
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:old-10044📝 Commits (6)
730789drdna2spirv: intra-block %vgpr/%sgpr value forwarding9d7f329tests/test_cube_sample: accept active-lane guarded OpSelect in sample_coords()390d4f1tests/test_image_load_typed: trace forwarded %vgpr writes in test_a16_offset_gathers_preserve_offset_and_unpack_uv_lod80fd538tests: follow forwarded %vgpr stores in sample_c/sample_cl and harden forwarding testsf881b82tests: match any OpBitcast of matching scale constant when #4473 + #4518 forward constants1e85535tests/semantic: follow forwarded %vgpr OpStore in test_image_sample_bias_nonps📊 Changes
12 files changed (+461 additions, -60 deletions)
View changed files
📝
tests/semantic/test_buffer_oob_select.py(+1 -1)📝
tests/semantic/test_buffer_swizzle.py(+1 -1)📝
tests/semantic/test_image_sample_bias_nonps.py(+17 -7)➕
tests/semantic/test_reg_load_forwarding.py(+294 -0)📝
tests/semantic/test_sample_c.py(+19 -8)📝
tests/semantic/test_sample_cl.py(+17 -7)📝
tests/test_cube_sample.py(+2 -0)📝
tests/test_f64_transcendentals.py(+8 -5)📝
tests/test_image_load_typed.py(+18 -6)📝
tests/test_rcp_iflag_mods.py(+10 -4)📝
tests/test_translate.py(+30 -13)📝
tools/rdna2spirv.py(+44 -8)📄 Description
Claim: #1568 (OLD-10044 / Draft #309)
Summary:
%vgpr/%sgprvalue forwarding intools/rdna2spirv.py.%vgprwrites and active-lane guardedOpSelect(tests/semantic/test_*,tests/test_*).Verification (Linux):
python3 -I scripts/check_no_game_data.pyon all modified files -> OKpython3 -m compileall -q make_game.py tools tests-> OKPYTHONPATH=tests/semantic python3 -m pytest tests/test_cube_sample.py-> 18 passed in 1.28spython3 -m unitteston the 10 remaining modified test files (test_buffer_oob_select,test_buffer_swizzle,test_image_sample_bias_nonps,test_reg_load_forwarding,test_sample_c,test_sample_cl,test_f64_transcendentals,test_image_load_typed,test_rcp_iflag_mods,test_translate) -> 112 passed, 1 skipped, 0 failedAI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.