diff --git a/crates/metal2vulkan-validation/src/runtime_lane/ycbcr_textures.rs b/crates/metal2vulkan-validation/src/runtime_lane/ycbcr_textures.rs index 90b6c7af4..e02369107 100644 --- a/crates/metal2vulkan-validation/src/runtime_lane/ycbcr_textures.rs +++ b/crates/metal2vulkan-validation/src/runtime_lane/ycbcr_textures.rs @@ -533,9 +533,7 @@ impl Kernels { /// Whether the `half` kernel `entry`'s stage rounds by the device's quantize /// ([`Kernels::quantizing`]). fn quantizes(&self, entry: &str) -> bool { - self.quantizing - .iter() - .any(|&quantizing| quantizing == entry) + self.quantizing.contains(&entry) } }