@@ -107,26 +107,24 @@ struct Binding {
107107 uint32_t UpperBound;
108108 const void *Cookie;
109109
110- Binding (dxil::ResourceClass RC, uint32_t Space, uint32_t LowerBound,
111- uint32_t UpperBound, const void *Cookie)
112- : RC(RC), Space(Space), LowerBound(LowerBound), UpperBound(UpperBound),
113- Cookie (Cookie) {}
114-
115- bool isUnbounded () const { return UpperBound == ~0U ; }
116-
117- bool operator ==(const Binding &RHS) const {
118- return std::tie (RC, Space, LowerBound, UpperBound, Cookie) ==
119- std::tie (RHS.RC , RHS.Space , RHS.LowerBound , RHS.UpperBound ,
120- RHS.Cookie );
121- }
122-
123- bool operator !=(const Binding &RHS) const { return !(*this == RHS); }
110+ Binding (dxil::ResourceClass RC, uint32_t Space, uint32_t LowerBound,
111+ uint32_t UpperBound, const void *Cookie)
112+ : RC(RC), Space(Space), LowerBound(LowerBound), UpperBound(UpperBound),
113+ Cookie (Cookie) {}
114+
115+ bool isUnbounded () const { return UpperBound == ~0U ; }
116+ bool operator ==(const Binding &RHS) const {
117+ return std::tie (RC, Space, LowerBound, UpperBound, Cookie) ==
118+ std::tie (RHS.RC , RHS.Space , RHS.LowerBound , RHS.UpperBound ,
119+ RHS.Cookie );
120+ }
121+ bool operator !=(const Binding &RHS) const { return !(*this == RHS); }
124122
125- bool operator <(const Binding &RHS) const {
126- return std::tie (RC, Space, LowerBound) <
127- std::tie (RHS.RC , RHS.Space , RHS.LowerBound );
128- }
129- };
123+ bool operator <(const Binding &RHS) const {
124+ return std::tie (RC, Space, LowerBound) <
125+ std::tie (RHS.RC , RHS.Space , RHS.LowerBound );
126+ }
127+ };
130128class BoundRegs {
131129 SmallVector<Binding> Bindings;
132130
0 commit comments