upleb.uk

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

summaryrefslogtreecommitdiff
path: root/make_game.py
diff options
context:
space:
mode:
authorDiesel <dev.diesel@proton.me>2026-11-21 22:44:07 +0100
committerDiesel <dev.diesel@proton.me>2026-11-21 22:44:07 +0100
commit5c1a1fbb6bf6f609eb4e61baa4961ce382743a4e (patch)
treeac8ad90058b97ab241fdc65edae3d4628d20ee1e /make_game.py
parentc45309e29f21c1d5b75678db0e2dc2dd11cff25b (diff)
parent4e390e0871d7265e629b51aca8ff99a15a6a6845 (diff)
Merge main to include the compute Y/Z harness test fix
Diffstat (limited to 'make_game.py')
-rw-r--r--make_game.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_game.py b/make_game.py
index 3965439e5..bbad5bf5d 100644
--- a/make_game.py
+++ b/make_game.py
@@ -210,7 +210,8 @@ def preflight(stages: list, work: str, wav: bool = False) -> None:
210 if not tool_available(llvm): 210 if not tool_available(llvm):
211 missing.append( 211 missing.append(
212 "llvm-mc (LLVM 21+ with the AMDGPU target). The official Windows LLVM build has no AMDGPU " 212 "llvm-mc (LLVM 21+ with the AMDGPU target). The official Windows LLVM build has no AMDGPU "
213 "target: install llvm-21 in WSL and set LLVM_MC to the whole command, e.g. " 213 "target: build a native one with scripts\\build_llvm_mc.ps1, or install llvm-21 in WSL and set "
214 "LLVM_MC to the whole command, e.g. "
214 "LLVM_MC=\"wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc\" (docs/design.md)") 215 "LLVM_MC=\"wsl -d Ubuntu -e /usr/lib/llvm-21/bin/llvm-mc\" (docs/design.md)")
215 for t in ("spirv-as", "spirv-val"): 216 for t in ("spirv-as", "spirv-val"):
216 if not shutil.which(t): 217 if not shutil.which(t):
@@ -302,7 +303,7 @@ def shaders(game: str, work: str, jobs: int) -> None:
302 shutil.rmtree(spirv, ignore_errors=True) 303 shutil.rmtree(spirv, ignore_errors=True)
303 if not os.path.isfile(disassembled): 304 if not os.path.isfile(disassembled):
304 need(os.environ.get("LLVM_MC", "llvm-mc"), 305 need(os.environ.get("LLVM_MC", "llvm-mc"),
305 "Install LLVM 21 or newer with the AMDGPU target, or set LLVM_MC to llvm-mc's full path.") 306 "Install LLVM 21 or newer with the AMDGPU target, or set LLVM_MC to llvm-mc's path or whole command.")
306 log("shaders: disassembling (gfx1013)") 307 log("shaders: disassembling (gfx1013)")
307 drop(translated) 308 drop(translated)
308 py("shader_disasm.py", os.path.join(dxbc, "fssm"), "--out", disasm, "--mcpu", "gfx1013", "--jobs", jobs) 309 py("shader_disasm.py", os.path.join(dxbc, "fssm"), "--out", disasm, "--mcpu", "gfx1013", "--jobs", jobs)