Repository navigation
Conversation
…ROSSLANE-PC-TAIL-UBO)
This was referenced Nov 25, 2026
Closed
Contributor
|
[KEEP]
|
Contributor
|
[CLOSE] as duplicate of #1507.
|
Collaborator
|
Thanks for this! Closing as a duplicate: #1507 landed the same
AI-assisted (Claude Code, Claude Opus 5.5). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: FUZZ-CROSSLANE-PC-TAIL-UBO (#14 (comment))
What and why
Addresses @whoalin1's finding in #14:
tools/crosslane_fuzz.pyhad no--pc-tail-uboflag and did not honorLEONIDA_PC_TAIL_UBO, unliketools/lds_fuzz.py,tools/valu_fuzz.py, andtools/image_fuzz.py. On 128-byte-push-constant GPUs (such as AMD RDNA2 iGPUs / gfx1036),vk_compute_testeither exited 77 (counted as a harness error) whenLEONIDA_PC_TAIL_UBOwas unset, or ran against the wrong layout (0xEEEEEEEEpre-fill counted as mismatches) whenLEONIDA_PC_TAIL_UBO=1was set in the environment without forwarding--pc-tail-ubotordna2spirv.py.pc_tail_env()and--pc-tail-ubototools/crosslane_fuzz.py(args.pc_tail_ubo = args.pc_tail_ubo or pc_tail_env(), matchinglds_fuzz.py,valu_fuzz.py, andimage_fuzz.py).--pc-tail-ubotordna2spirv.pyintranslate()and setsLEONIDA_PC_TAIL_UBO=1ingpu_env()/run_gpu()across bothrun_translator()and--minimize(still_fails()).translate/ 5-argumentrun_gpu/ 2-tuplestill_failsctxcompatibility whenpc_tailis off, and isolatesHarnessErrors._mainintests/test_crosslane_fuzz.pyfrom an ambientLEONIDA_PC_TAIL_UBO=1.PcTailUbounit tests covering CLI flag, env var variants (1/true/YES/on/0), flag overridingLEONIDA_PC_TAIL_UBO=0,translate(),gpu_env(),run_gpu(), and--minimize/still_fails().Tested
python3 -I tests/test_crosslane_fuzz.py: 77/77 OK (2 hw-oracle tests skipped).LEONIDA_PC_TAIL_UBO=1 python3 -I tests/test_crosslane_fuzz.py: 77/77 OK (2 skipped).main(3ff2a2adc):tests/test_crosslane_fuzz.py PcTailUbofails 4/4 (failures=4, errors=6).python3 -I tools/crosslane_fuzz.py --self-test:self-test OK.python3 -I tests/test_mc_command.py: 29/29 OK (2 skipped).python3 -I tests/test_text_write_line_endings.py: 3/3 OK.python3 -I scripts/check_no_game_data.py tools/crosslane_fuzz.py tests/test_crosslane_fuzz.py: clean.python3 -m compileall -q tools/crosslane_fuzz.py tests/test_crosslane_fuzz.py: clean.GPUs tested: n/a (macOS arm64 host; unit/CLI tests only, no Vulkan GPU harness)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — no translator rule changed)