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

This commit is contained in:
Andreas Reich authored and Connor Fitzgerald committed 2023-02-09 15:59:59 -05:00
1 parent a8d4874c5f
commit 1fc13bc873
1 file changed
+8 -8
+8 -8
View File
@@ -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;