Repository navigation
Conversation
… folder On Windows the SPIRV-Tools read their command line in the ANSI code page, so a tmp_path under a user name outside it reached them with "?" and every pytest translator test that validates failed. With %TEMP% at "tmp_ação" on a cp1251 PC: 513 failures across test_translate, test_mesh_compute, test_spirv_gs_to_compute, test_image_load_d16_typed, test_pc_tail_ubo and test_vs_packed_inputs on main; 11 (plus 5 errors) with this change, all from those files' own spirv-as calls. Same approach as rdna2spirv.py's assemble_spirv (ItsNotRexed#3423). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kacper-serewis
left a comment
Contributor
There was a problem hiding this comment.
Independent Windows ACP 1250 comparison using Python 3.13.15 and Vulkan SDK 1.4.363.0. Both ASCII TEMP runs passed 21 tests. Under U+6E2C TEMP the #4807 baseline had 6 passes, 10 failures and 5 setup errors; b81dd94 passed all 21 runnable tests. Each run skipped 17 AMDGCN llvm-mc-dependent tests. AI-assisted CPU only.
editrice
marked this pull request as ready for review
November 23, 2026 05:54
|
Tested head b81dd94 on Windows 11, CPython 3.15.2, CPU, synthetic fixtures only. Vulkan SDK 1.4.363.0 SPIRV-Tools and MSYS2 UCRT llvm-mc were on PATH. Created a temporary venv and installed the repository-pinned
AI-assisted (Devin); no game files. |
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 as a new TEST follow-up in the current coordination issue: #4816 (comment)
Depends on: #4807
What and why
After #4807 fixes
Shader.validate(), directspirv-as/spirv-valcalls intests/test_mesh_compute.pyandtests/test_spirv_gs_to_compute.pystill pass absolutetmp_pathfilenames. On Windows, SPIRV-Tools can read those arguments through the ANSI code page and fail when TEMP contains characters outside it. Run the tools from their work directory with bare filenames. The GS CLI tests also pass relative module/layout names so the converter's internal SPIRV-Tools calls stay safe.The two representative tests now create a
tmp_測試child directory even under an ordinary ASCII TEMP, so CI exercises the failure mode. This branch contains #4807's helper commit as its parent and only changes these two test files beyond that dependency.Tests
tmp_??missing-file diagnostics.compileallandgit diff --checkclean; independent pre-push review passed.Windows CPU-only, synthetic SPIR-V tests. No game files or game-derived content. AI-assisted (Codex daybreak-blue implementation and independent review).