summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 20:24:56 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit7d2178022e721f3eac023f3e3be56c1bb1e49927 (patch)
tree9503e787f4797b121806d22d588f10fecd24a72c /build.zig
parent97679fee286cc0fd3104f138e9fa14722c614f7f (diff)
downloadpardes-7d2178022e721f3eac023f3e3be56c1bb1e49927.tar.gz
pardes-7d2178022e721f3eac023f3e3be56c1bb1e49927.zip
shader_build.zig is ShaderBuild.zig: a file that is a struct (its fields are the post chain's builds) takes a type's name
The naming the split agreed on: a file with fields is a type, TitleCase, as Messages.zig and Layer.zig are. Its importers bind it as ShaderBuild; comments and docs/render-pipeline.md name the new file. No behaviour changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index e549a53e..a69327ae 100644
--- a/build.zig
+++ b/build.zig
@@ -1083,7 +1083,7 @@ pub fn build(b: *std.Build) void {
}
// A detached session compiles its attached GUIs' Shadertoy files
- // (shader_build.zig), whichever shell it was built for.
+ // (ShaderBuild.zig), whichever shell it was built for.
if (gui_shell_mod != root_mod)
root_mod.addAnonymousImport("post-prefix.glsl", .{ .root_source_file = b.path("shaders/post/prefix.glsl") });