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:
authorMoaaz Gewili <ai4221386@deltauniv.edu.eg>2026-11-22 20:37:17 +0200
committerMoaaz Gewili <ai4221386@deltauniv.edu.eg>2026-11-22 22:07:33 +0200
commit04c99b0825ac2da39fa37d560209913c06746dcc (patch)
treee4024af4cb80e526775d6712e8f2ac464175c5e6 /scripts/run_gpu_tests.py
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
Translator: --fma exact, a single-rounded f32 FMA without VK_KHR_shader_fma (SHADER-497)
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 7cd0e9dbf..801874b6a 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -745,7 +745,7 @@ def run_suite(a, work: str) -> int:
745 cmd.append("--mesh-compute") 745 cmd.append("--mesh-compute")
746 if pc_tail_ubo(): # 128 push-constant bytes; heap base and code base from a uniform block at set 1 746 if pc_tail_ubo(): # 128 push-constant bytes; heap base and code base from a uniform block at set 1
747 cmd.append("--pc-tail-ubo") 747 cmd.append("--pc-tail-ubo")
748 if os.environ.get("LEONIDA_FMA") in ("glsl", "khr"): # fused multiply-add: GLSL Fma or OpFmaKHR (docs/design.md) 748 if os.environ.get("LEONIDA_FMA") in ("glsl", "khr", "exact"): # GLSL Fma, OpFmaKHR or emulated (docs/design.md)
749 cmd += ["--fma", os.environ["LEONIDA_FMA"]] 749 cmd += ["--fma", os.environ["LEONIDA_FMA"]]
750 rc, out = run_cmd(cmd, gpu=False) 750 rc, out = run_cmd(cmd, gpu=False)
751 print("=== rdna2spirv.py ===") 751 print("=== rdna2spirv.py ===")