M13.23: Shatter wireframe views and Foam's texture / map extras fall back via gpu_supported (no readback attempt)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 23:59:22 -04:00
co-authored by Claude Opus 5.5
parent 49d0c16c9f
commit 4a2ca9115b
3 changed files with 22 additions and 7 deletions
+8
View File
@@ -152,3 +152,11 @@ fn caustics() {
);
let _ = (c(0.0, 0.0, 0.0), on());
}
#[test]
fn cpu_only_views_fall_back() {
// Shatter's wireframe views and Foam's User Defined texture render on the CPU; composited
// frames still match.
composited("ec.sim.shatter", &[], 1.0, 0.0);
composited("ec.sim.foam", &[("view", e(2)), ("rendering/bubbleTexture", e(5)), ("rendering/bubbleTextureLayer", Value::Layer(Some(0)))], 1.0, 0.0);
}