Skip to content

spirv_gs_to_compute: keep Unicode separators inside quoted names - #8973

Open
Barbital11111 wants to merge 1 commit into
ItsNotRexed:mainfrom
Barbital11111:fix/gs-capture-unicode-lines
Open

Barbital11111 wants to merge 1 commit into
ItsNotRexed:mainfrom
Barbital11111:fix/gs-capture-unicode-lines

Conversation

@Barbital11111

Copy link
Copy Markdown
Contributor

Summary

The geometry-to-compute rewriter used str.splitlines(), which also splits on characters such as U+2028 and U+0085 inside quoted SPIR-V names. The first split can leave the old Geometry entry point in the result; the second changes a retained debug name.

Split only at physical assembly line endings during parsing and rewriting. The regression covers LF and CRLF input.

Coordination claim: GS-CAPTURE-LITERAL

Validation

AI-assisted (Codex). Synthetic modules only.

@Grimkeh Grimkeh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Linux CPU review

What changed: spirv_gs_to_compute keeps Unicode separators inside quoted names.

Checked: tests/test_spirv_gs_to_compute.py — 29 passed.

Looks correct; no game files.

@abnalstlll-byte abnalstlll-byte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Windows review (commit \

@garuspl

garuspl commented Nov 23, 2026

Copy link
Copy Markdown

Tested 0ca859b on Windows 11 (CPU only, no GPU needed): pass

Windows 11 Pro, Python 3.14.7, no GPU or game files involved; pytest/numpy/Pillow pinned from tests/requirements.txt in a fresh venv. Method: PR head merged onto main 867d922, the PR's test files run with python -m pytest before and after the merge, plus python -m compileall -q on the changed files (clean).

  • tests/test_spirv_gs_to_compute.py: main 27 passed; with the PR 29 passed.

AI-assisted (Claude Code, Claude Opus 5.5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants