From 8121fe336779b0990cb424c36ba77b69b62270c7 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Thu, 14 Jan 2021 15:52:52 +0000 Subject: [PATCH] Add missing doxygen comments Change-Id: Ia4b1a5bc1d046633a7f1f91e23659d237d35e640 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/37842 Commit-Queue: Ben Clayton Auto-Submit: Ben Clayton Reviewed-by: dan sinclair --- src/reader/spirv/parser_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/reader/spirv/parser_impl.h b/src/reader/spirv/parser_impl.h index 579d681ed2..c832a055cd 100644 --- a/src/reader/spirv/parser_impl.h +++ b/src/reader/spirv/parser_impl.h @@ -474,7 +474,11 @@ class ParserImpl : Reader { /// @returns the instruction, or nullptr on error const spvtools::opt::Instruction* GetInstructionForTest(uint32_t id) const; + /// A map of SPIR-V identifiers to builtins using BuiltInsMap = std::unordered_map; + + /// @returns a map of builtins that should be ignored as they do not exist in + /// WGSL. const BuiltInsMap& ignored_builtins() const { return ignored_builtins_; } private: