1
1
Fork 0
forked from suyu/suyu

shader_ir: Move Sampler index entry in operand< to sort declarations

This commit is contained in:
ReinUsesLisp 2019-04-26 01:13:05 -03:00
parent b77b4b76bb
commit 2156e52014

View file

@ -251,8 +251,8 @@ public:
}
bool operator<(const Sampler& rhs) const {
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,
return std::tie(index, offset, type, is_array, is_shadow, is_bindless) <
std::tie(rhs.index, rhs.offset, rhs.type, rhs.is_array, rhs.is_shadow,
rhs.is_bindless);
}