From b7b7f7daed5defc85a8bc64b3cf16057c2175f59 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 5 Feb 2024 12:13:39 +0700 Subject: [PATCH] `Backends`: Add some links in the doc comments. --- wgpu-types/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 6cf7860192..a5d3a0862f 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -171,7 +171,10 @@ bitflags::bitflags! { const BROWSER_WEBGPU = 1 << Backend::BrowserWebGpu as u32; /// All the apis that wgpu offers first tier of support for. /// - /// Vulkan + Metal + DX12 + Browser WebGPU + /// * [`Backends::VULKAN`] + /// * [`Backends::METAL`] + /// * [`Backends::DX12`] + /// * [`Backends::BROWSER_WEBGPU`] const PRIMARY = Self::VULKAN.bits() | Self::METAL.bits() | Self::DX12.bits() @@ -179,7 +182,7 @@ bitflags::bitflags! { /// All the apis that wgpu offers second tier of support for. These may /// be unsupported/still experimental. /// - /// OpenGL + /// * [`Backends::GL`] const SECONDARY = Self::GL.bits(); } }