From 6863be0487dbc9ce0e7f342adb29b053dce8d71c Mon Sep 17 00:00:00 2001 From: Antonio Maiorano Date: Thu, 21 Jul 2022 22:06:05 +0000 Subject: [PATCH] tint: Fix TINT_SYMBOL_STORE_DEBUG_NAME Change-Id: Id585354c5e3630d6921d74b58a6d602689be48ea Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96901 Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton Kokoro: Kokoro --- src/tint/symbol.cc | 4 ++-- src/tint/symbol.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tint/symbol.cc b/src/tint/symbol.cc index 925ab5b24c..9adc1aaa37 100644 --- a/src/tint/symbol.cc +++ b/src/tint/symbol.cc @@ -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; diff --git a/src/tint/symbol.h b/src/tint/symbol.h index 512deba147..e344341fea 100644 --- a/src/tint/symbol.h +++ b/src/tint/symbol.h @@ -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