Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for some minor issues in comments on some features. #3455

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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