We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2730e86 commit 2874e82Copy full SHA for 2874e82
crates/lambda-rs/src/render/render_pass.rs
@@ -207,7 +207,7 @@ impl RenderPassBuilder {
207
// Optionally log when clamping is applied.
208
#[cfg(any(debug_assertions, feature = "render-validation-depth",))]
209
{
210
- if (clamped - clear).abs() > f64::EPSILON {
+ if clamped != clear {
211
logging::warn!(
212
"Depth clear value {} out of range [0,1]; clamped to {}",
213
clear,
0 commit comments