From 1fc13bc87318153830b0f53cebaf1856f34bc838 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Mon, 6 Feb 2023 18:19:33 +0100 Subject: [PATCH] Fix for some minor issues in comments on some features. (#3455) --- wgpu-types/src/lib.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index ac9df674f..617079717 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -304,11 +304,9 @@ bitflags::bitflags! { /// to get the timestamp in nanoseconds. Multiple timestamps can then be diffed to get the /// time for operations between them to finish. /// - /// Due to wgpu-hal limitations, this is only supported on vulkan for now. - /// /// Supported Platforms: - /// - Vulkan (works) - /// - DX12 (works) + /// - Vulkan + /// - DX12 /// /// This is a web and native feature. const TIMESTAMP_QUERY = 1 << 7; @@ -319,11 +317,9 @@ bitflags::bitflags! { /// They must be resolved using [`CommandEncoder::resolve_query_sets`] into a buffer. /// The rules on how these resolve into buffers are detailed in the documentation for [`PipelineStatisticsTypes`]. /// - /// Due to wgpu-hal limitations, this is only supported on vulkan for now. - /// /// Supported Platforms: - /// - Vulkan (works) - /// - DX12 (works) + /// - Vulkan + /// - DX12 /// /// This is a web and native feature. const PIPELINE_STATISTICS_QUERY = 1 << 8; @@ -617,6 +613,10 @@ bitflags::bitflags! { /// /// Supported platforms: /// - Vulkan + /// - DX11 (feature level 10+) + /// - DX12 + /// - Metal (some) + /// - OpenGL (some) /// /// This is a native only feature. const SHADER_PRIMITIVE_INDEX = 1 << 36;