Skip to content

Commit

Permalink
Fix for some minor issues in comments on some features. (#3455)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf authored Feb 6, 2023
1 parent 41de797 commit 3ea2c22
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3ea2c22

Please sign in to comment.