mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
shader_ir: Move Sampler index entry in operand< to sort declarations
This commit is contained in:
parent
b77b4b76bb
commit
2156e52014
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator<(const Sampler& rhs) const {
|
bool operator<(const Sampler& rhs) const {
|
||||||
return std::tie(offset, index, type, is_array, is_shadow, is_bindless) <
|
return std::tie(index, offset, type, is_array, is_shadow, is_bindless) <
|
||||||
std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_array, rhs.is_shadow,
|
std::tie(rhs.index, rhs.offset, rhs.type, rhs.is_array, rhs.is_shadow,
|
||||||
rhs.is_bindless);
|
rhs.is_bindless);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue