summaryrefslogtreecommitdiff
path: root/test/behaviour
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 10:46:03 -0300
committerGabriel Schneider <[email protected]>2026-11-05 15:12:36 -0300
commit11204e1206f7f7ffeaa861c1a442a312e563d3ed (patch)
treef788736bf5b6a56694563b664b5db73bc54bff72 /test/behaviour
parentc9b9dad8469f5d654c31d688d7e2d93da8325f39 (diff)
downloadpardes-11204e1206f7f7ffeaa861c1a442a312e563d3ed.tar.gz
pardes-11204e1206f7f7ffeaa861c1a442a312e563d3ed.zip
effects out, the post chain: Crt, Bloom, Vignette, Grain, Shader and ShaderAnimation go with src/gui/Post.zig, src/ShaderBuild.zig (the run-time glslc spawn and its watched files), shaders/post/, post.vert, bloom-down and bloom-up and their prebuilt .spv, the window's scene texture and its post-chain-only redraw (level A), the disable_scene_effects tape site and Pardes.disableSceneEffects; EffectCode goes with src/effect_sources.zig, which only embedded the effects' sources (/virtual keeps src/); the corner-click test keeps its point without a chain, the window monkey loses its Bloom axis; macOS's post-processor (ScenePostprocessor.swift, crt.ci.metal, pardes_scene) is a change of its own
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/behaviour')
-rw-r--r--test/behaviour/settings.zig8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/behaviour/settings.zig b/test/behaviour/settings.zig
index c4d93419..4b0245d2 100644
--- a/test/behaviour/settings.zig
+++ b/test/behaviour/settings.zig
@@ -257,16 +257,14 @@ test "settings: every on/off setting the root ctl reads flips when its word is w
const word, const was = .{ line[0..space], line[space + 1 ..] };
const on = std.mem.eql(u8, was, "on");
if (!on and !std.mem.eql(u8, was, "off")) continue;
- // Shader's and Pet's `off` say they have no file and no pet; each takes
- // a name, not a flip.
- if (std.mem.eql(u8, word, "Shader") or std.mem.eql(u8, word, "Pet")) continue;
+ // Pet's `off` says it has no pet; it takes a name, not a flip.
+ if (std.mem.eql(u8, word, "Pet")) continue;
s.write("/ctl", s.at("{s}\n", .{word})) catch |err| {
std.debug.print("a bare {s} (was {s}) was refused\n", .{ word, was });
return err;
};
// A bare word moves the setting: a toggle to its other side, one with
- // more states (Lift's auto, Crt's level, ShaderAnimation's always) to
- // the next, never nowhere.
+ // more states (Lift's auto) to the next, never nowhere.
const after = try setting(&s, word);
try std.testing.expect(std.mem.startsWith(u8, after, word));
try std.testing.expect(!std.mem.eql(u8, after, line));