upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/mem_diff.py
diff options
context:
space:
mode:
authorTomgamer <tomanhorak22@gmail.com>2026-11-22 16:32:05 +0100
committerTomgamer <tomanhorak22@gmail.com>2026-11-22 16:32:05 +0100
commiteb35aed2e7e8ea1d4a11fd4e42ab80d853f05169 (patch)
tree22bd0e6fa6363235d1feedc1c9be678ab63bee4b /tools/mem_diff.py
parent759a90c42e58886153f67dcd2d5d41c44face012 (diff)
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
Merge origin/main into shader-309-wave64-lds-limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/mem_diff.py')
-rw-r--r--tools/mem_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mem_diff.py b/tools/mem_diff.py
index 2be12e8bd..ebee3554e 100644
--- a/tools/mem_diff.py
+++ b/tools/mem_diff.py
@@ -640,7 +640,7 @@ def run_one(name, prog):
640 dis = os.path.join(tmp, "disasm") 640 dis = os.path.join(tmp, "disasm")
641 os.mkdir(dis) 641 os.mkdir(dis)
642 path = os.path.join(dis, name + ".s") 642 path = os.path.join(dis, name + ".s")
643 with open(path, "w", encoding="utf-8") as f: 643 with open(path, "w", encoding="utf-8", newline="\n") as f:
644 f.write(_listing(prog.lines)) 644 f.write(_listing(prog.lines))
645 with open(os.path.join(tmp, name + ".dxbc"), "wb") as f: 645 with open(os.path.join(tmp, name + ".dxbc"), "wb") as f:
646 f.write(STUB_DXBC) 646 f.write(STUB_DXBC)