CONTRIBUTING: name tools/report_paths.same_report_path as the shared --out/input guard (EGEN-REPORTPATHS-DOC) (#6730)

Squash-merged after diff review of PR #6730
This commit is contained in:
evilclanker9000
2026-11-23 17:50:22 +01:00
committed by GitHub
parent e36d4c4561
commit 1ab957b304

View File

@ -31,6 +31,10 @@ methods are still open.
encoding="utf-8", newline="\n")` (the same for `Path.open`, `Path.write_text` and a text-mode
`tempfile.NamedTemporaryFile`), so the output is LF on Windows too and the same input gives the same bytes on every
platform. `tests/test_text_write_line_endings.py` fails for a writer that forgets it.
- A report writer refuses an output that names one of its inputs or another output, and asks
`tools/report_paths.same_report_path(a, b)` rather than deriving the answer again: it resolves both paths,
applies the volume's case rules and falls back to `os.path.samefile`, so a new tool reuses one answer
instead of a private copy. `tests/test_report_paths.py` covers it.
- `tools/rpf9dump` needs the submodule: `git submodule update --init`.
- A new shader-translator rule goes into the contract table in `docs/design.md`, with how it was confirmed: a GPU
test, a Mesa/LLVM reference, or a count over the corpus.