tint: Fix TINT_SYMBOL_STORE_DEBUG_NAME
Change-Id: Id585354c5e3630d6921d74b58a6d602689be48ea Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96901 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
1e98a9ba4a
commit
6863be0487
|
@ -23,8 +23,8 @@ Symbol::Symbol() = default;
|
|||
Symbol::Symbol(uint32_t val, tint::ProgramID program_id) : val_(val), program_id_(program_id) {}
|
||||
|
||||
#if TINT_SYMBOL_STORE_DEBUG_NAME
|
||||
Symbol::Symbol(uint32_t val, tint::ProgramID pid, NodeID nid, std::string debug_name)
|
||||
: val_(val), program_id_(program_id), debug_name_(std::move(debug_name)) {}
|
||||
Symbol::Symbol(uint32_t val, tint::ProgramID pid, std::string debug_name)
|
||||
: val_(val), program_id_(pid), debug_name_(std::move(debug_name)) {}
|
||||
#endif
|
||||
|
||||
Symbol::Symbol(const Symbol& o) = default;
|
||||
|
|
|
@ -43,7 +43,7 @@ class Symbol {
|
|||
/// @param val the symbol value
|
||||
/// @param program_id the identifier of the program that owns this Symbol
|
||||
/// @param debug_name name of symbols used only for debugging
|
||||
Symbol(uint32_t val, tint::ProgramID pid, NodeID nid, std::string debug_name);
|
||||
Symbol(uint32_t val, tint::ProgramID pid, std::string debug_name);
|
||||
#endif
|
||||
/// Copy constructor
|
||||
/// @param o the symbol to copy
|
||||
|
|
Loading…
Reference in New Issue