From 72e17542182e16bd2b406d7fc42d3cb694317fe4 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 20 Nov 2026 19:51:45 -0800 Subject: [PATCH] rt: the barycentric extension's doc names its feature without a private link Rustdoc -D warnings (m3-max-61354) refused the public BARYCENTRIC_EXTENSIONS's link to the crate-private BARYCENTRICS. --- crates/metal2vulkan-runtime/src/floor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-runtime/src/floor.rs b/crates/metal2vulkan-runtime/src/floor.rs index bbd59ba53..44b786e09 100644 --- a/crates/metal2vulkan-runtime/src/floor.rs +++ b/crates/metal2vulkan-runtime/src/floor.rs @@ -103,8 +103,8 @@ pub const BORDER_SWIZZLE_EXTENSIONS: &[&CStr] = &[ /// The device extension of a fragment function's `[[barycentric_coord]]` /// (`VK_KHR_fragment_shader_barycentric`): device creation enables it, with its feature -/// ([`BARYCENTRICS`]), where the device lists it and reports the feature, and neither otherwise, -/// so [`Device::extensions`](crate::Device::extensions) names it only with its feature. +/// `fragmentShaderBarycentric`, where the device lists it and reports the feature, and neither +/// otherwise, so [`Device::extensions`](crate::Device::extensions) names it only with its feature. pub const BARYCENTRIC_EXTENSIONS: &[&CStr] = &[ash::khr::fragment_shader_barycentric::NAME]; /// The translator's name for an extension device creation enables that its shaders may use, or