From 68b74eaee3b4e2e03497b0bd2bc584b7b86d531e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 21:58:59 +0200 Subject: [PATCH] cultmath README: Shader Tooling names the strict-form gate and the overridable site capacity Co-Authored-By: Claude Opus 5.5 --- packages/cultmath/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cultmath/README.md b/packages/cultmath/README.md index b5ba974d..381b194a 100644 --- a/packages/cultmath/README.md +++ b/packages/cultmath/README.md @@ -190,7 +190,7 @@ CultMath keeps portable DXC outside git under `packages/cultmath/.tools/`: -OutputPath E:\Projects\Odin\crates\muninn-move-tracker\artifacts\shader\MoveSphereCandidate.comp.metal ``` -`tools/glsl/build-glsl.sh ` (Linux, repository root) builds the library GLSL from the HLSL with dxc, SPIRV-Cross and SPIRV-Tools and writes `core.glsl`, `cycles.glsl` and `phacelle.glsl` bodies into ``. It does not yet own the committed GLSL; `GlslLowering` still does. `GLSL_DIR= tools/device/run-lavapipe.sh` runs that output on lavapipe and compares it with the HLSL results bit for bit instead of judging the committed files. +`tools/glsl/build-glsl.sh ` (Linux, repository root) builds the library GLSL from the HLSL with dxc, SPIRV-Cross and SPIRV-Tools and writes `core.glsl`, `cycles.glsl` and `phacelle.glsl` bodies into ``. It does not yet own the committed GLSL; `GlslLowering` still does. `GLSL_DIR= tools/device/run-lavapipe.sh` runs that output on lavapipe and compares it with the HLSL results bit for bit instead of judging the committed files. That comparison is in strict form (dxc `-Gis` and a `NoContraction` decoration on every float result of both modules), and a consumer overrides `CULTMATH_MAX_SITES` in the built GLSL the same way as in HLSL: define it before including `core.glsl`. `compile-hlsl.ps1` compiles both `CultMath.hlsl` copies as a `lib_6_3` library with the x64 DXC; a warning fails it too (`-WX`).