upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
authorMoonEyes <ducoinbenjamin@yahoo.fr>2026-11-29 16:43:01 +0100
committerGitHub <noreply@github.com>2026-11-29 16:43:01 +0100
commitd00d46c1e49e8604cee39478ec9de70207ce5bd6 (patch)
tree1669420f4d9c8930ed0a882248db613d9b9b3d3d /scripts/run_gpu_tests.py
parent3580a9d308154953d6e6f8774f924e58860c0d55 (diff)
parent65c673e3fe682d54f3527753e55ab8341f48c0d1 (diff)
Merge pull request #1839 from delysidemanYT1/gpu-spirv-as-diagnostics
GPU-SPIRV-AS-DIAGNOSTICS: Preserve spirv-as diagnostics containing undecodable bytes
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 97fba6ee3..4063b5fde 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -170,7 +170,7 @@ def spirv_as(asm_text: str, out_spv: str, assembler: str = "spirv-as") -> None:
170 return 170 return
171 try: 171 try:
172 p = subprocess.run(["spirv-as", "--target-env", "vulkan1.2", "-o", out_spv, "-"], 172 p = subprocess.run(["spirv-as", "--target-env", "vulkan1.2", "-o", out_spv, "-"],
173 input=asm_text, capture_output=True, text=True) 173 input=asm_text, capture_output=True, encoding="utf-8", errors="backslashreplace")
174 except FileNotFoundError: 174 except FileNotFoundError:
175 raise RuntimeError("spirv-as not found on PATH (use --assembler python to assemble with tools/spirv_asm.py)") from None 175 raise RuntimeError("spirv-as not found on PATH (use --assembler python to assemble with tools/spirv_asm.py)") from None
176 except OSError as exc: 176 except OSError as exc: