Skip to content

docs: clarify native Windows GPU test setup - #4153

Open
akimfomin wants to merge 1 commit into
ItsNotRexed:mainfrom
akimfomin:patch-1
Open

akimfomin wants to merge 1 commit into
ItsNotRexed:mainfrom
akimfomin:patch-1

Conversation

@akimfomin

Copy link
Copy Markdown

Claimed in the coordination issue as: documentation claim

What and why

CONTRIBUTING.md implied that assembling the GPU test shaders required WSL or a Linux container. Specify the actual requirement, llvm-mc with the AMDGPU target (LLVM 21+), and point contributors to the native Windows options already documented in docs/testing.md.

Tested

  • Windows 11, Python 3.12.14. test_docs_links.py, test_docs_repo_paths.py, and test_docs_cli_flags.py passed (11 tests).
  • git diff --check passed.
  • Documentation-only change. No GPU or game data used.

Checklist

  • No game data, keys or decryption, including in logs or reports.
  • Translator contract update (not applicable to a contributor guide change).

AI-assisted editing and verification.

@shdann

shdann commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Read 33a4580 and compared it with the repository on this head (documentation-only change; no GPU): the new text agrees.

runtime/test/shaders/build.py line 5 names LLVM 21+ with the AMDGPU target. Line 134 calls llvm-mc with -triple=amdgcn--amdpal.
docs/testing.md lines 16 to 19 give two native Windows options: scripts\build_llvm_mc.ps1 and the conda-forge llvm-tools package.
Thus the old text "WSL or a Linux container" was out of date.

I found no contradiction. AI-assisted.

@sds-228 sds-228 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.

Code review of 33a4580: no issues found. Setup guidance is accurate, links are relative, and no stale text remains.

AI-assisted (OpenCode).

@TG0000

TG0000 commented Nov 23, 2026

Copy link
Copy Markdown

Code read of 33a4580f. The native Windows guidance matches runtime/test/shaders/build.py and the setup options in docs/testing.md. One follow-up for #4204: the Without a GPU: Mesa llvmpipe block in docs/testing.md still installs LLVM 18 and passes its llvm-mc to all three commands, even though the latest fixtures need a newer assembler. The local llvmpipe recipe should move to the same assembler when that CI change lands.

AI-assisted documentation review. I did not run the Windows or llvmpipe checks.

@TG0000 TG0000 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.

Read 33a4580f. The native Windows setup in this change matches runtime/test/shaders/build.py and the guide. One follow-up for BUILD-923: the linked docs/testing.md still says Ubuntu’s LLVM 18 runs run_gpu_tests.py, and its llvmpipe recipe installs LLVM 18 and passes it to all three commands. Once #3248 / #4204 settles the minimum assembler for the current fixtures, please update both spots to match the tested version.

AI-assisted (OpenAI Codex). Documentation review only.

@memorypressure

Copy link
Copy Markdown

Verified at a merge with current main: the rewording matches the actual state — build.py needs llvm-mc with the AMDGPU target (LLVM 21+), and docs/testing.md does explain getting it on native Windows without WSL. compileall, test_docs_python_deps, test_docs_links and test_docs_design_rows pass. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run).

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.

5 participants