tint/writer: Remove spirv::Operand hasher
It's not used any more. utils::Hasher is specialized for vectors.
Change-Id: Ic7c6978ae1f54b608b4dba98abeac077c1be9567
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100904
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/tint/writer/spirv/operand.h b/src/tint/writer/spirv/operand.h
index dab10e9..0601ca0 100644
--- a/src/tint/writer/spirv/operand.h
+++ b/src/tint/writer/spirv/operand.h
@@ -43,18 +43,4 @@
} // namespace tint::writer::spirv
-namespace std {
-
-/// Custom std::hash specialization for tint::writer::spirv::Operand
-template <>
-class hash<tint::writer::spirv::Operand> {
- public:
- /// @param o the Operand
- /// @return the hash value
- inline std::size_t operator()(const tint::writer::spirv::Operand& o) const {
- return std::visit([](auto v) { return tint::utils::Hash(v); }, o);
- }
-};
-
-} // namespace std
#endif // SRC_TINT_WRITER_SPIRV_OPERAND_H_