Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

#1063: the gradient ramp matches the CPU on the GPU, including transparent regions

Kristian Myram98796a29b8c1
diff --git a/crates/gpu/src/tests_fx_tone.rs b/crates/gpu/src/tests_fx_tone.rs
index 61c977d18..08212a12a 100644
--- a/crates/gpu/src/tests_fx_tone.rs
+++ b/crates/gpu/src/tests_fx_tone.rs
@@ -183,3 +183,8 @@ fn color_stabilizer() {
}
}
}
+
+#[test]
+fn gradient_ramp_matches_the_cpu() {
+ effect_case("ec.generate.gradientramp", &[]);
+}