diff options
| author | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 16:32:05 +0100 |
|---|---|---|
| committer | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 16:32:05 +0100 |
| commit | eb35aed2e7e8ea1d4a11fd4e42ab80d853f05169 (patch) | |
| tree | 22bd0e6fa6363235d1feedc1c9be678ab63bee4b /tools/shader_diff.py | |
| parent | 759a90c42e58886153f67dcd2d5d41c44face012 (diff) | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
Merge origin/main into shader-309-wave64-lds-limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/shader_diff.py')
| -rw-r--r-- | tools/shader_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shader_diff.py b/tools/shader_diff.py index c42bcf22f..4b52ab7ba 100644 --- a/tools/shader_diff.py +++ b/tools/shader_diff.py | |||
| @@ -177,7 +177,7 @@ def generate_program(rng, n_ops): | |||
| 177 | 177 | ||
| 178 | 178 | ||
| 179 | def _write_listing(path, lines, with_export): | 179 | def _write_listing(path, lines, with_export): |
| 180 | with open(path, "w", encoding="utf-8") as f: | 180 | with open(path, "w", encoding="utf-8", newline="\n") as f: |
| 181 | f.write("; shader_diff case code 0x0..0x1000\n") | 181 | f.write("; shader_diff case code 0x0..0x1000\n") |
| 182 | for line in lines: | 182 | for line in lines: |
| 183 | f.write("\t" + line + "\n") | 183 | f.write("\t" + line + "\n") |