From 262a4c482473dea0d0b0263410f98af812f169aa Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 11 Apr 2022 19:54:48 +0000 Subject: [PATCH] tint: More doxygen fixes Change-Id: I46d73d760e3f78fb374cffe003668f29f4bcbe1e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86380 Reviewed-by: Antonio Maiorano Commit-Queue: Ben Clayton --- src/tint/reader/spirv/function.h | 3 ++- src/tint/writer/hlsl/generator_impl.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tint/reader/spirv/function.h b/src/tint/reader/spirv/function.h index 1a08d089bd..b000370cc0 100644 --- a/src/tint/reader/spirv/function.h +++ b/src/tint/reader/spirv/function.h @@ -68,7 +68,8 @@ enum class EdgeKind { kForward }; -enum : uint32_t { kInvalidBlockPos = ~(0u) }; +/// The number used to represent an invalid block position +static constexpr uint32_t kInvalidBlockPos = ~0u; /// Bookkeeping info for a basic block. struct BlockInfo { diff --git a/src/tint/writer/hlsl/generator_impl.h b/src/tint/writer/hlsl/generator_impl.h index 50bce98196..4fcf151d7d 100644 --- a/src/tint/writer/hlsl/generator_impl.h +++ b/src/tint/writer/hlsl/generator_impl.h @@ -67,7 +67,6 @@ struct SanitizedResult { }; /// Sanitize a program in preparation for generating HLSL. -/// @program The program to sanitize /// @param program the input program /// @param options The HLSL generator options. /// @returns the sanitized program and any supplementary information