forked from suyu/suyu
shader_ir: Add missing entry to Sampler operand< comparison
This commit is contained in:
parent
0b91087a1e
commit
b77b4b76bb
1 changed files with 3 additions and 2 deletions
|
@ -251,8 +251,9 @@ public:
|
|||
}
|
||||
|
||||
bool operator<(const Sampler& rhs) const {
|
||||
return std::tie(offset, index, type, is_array, is_shadow) <
|
||||
std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_array, rhs.is_shadow);
|
||||
return std::tie(offset, index, type, is_array, is_shadow, is_bindless) <
|
||||
std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_array, rhs.is_shadow,
|
||||
rhs.is_bindless);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue