Browse Source

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

nce_cpp
ReinUsesLisp 7 years ago
parent
commit
5ea871b373
  1. 4
      src/video_core/shader/shader_ir.h

4
src/video_core/shader/shader_ir.h

@ -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);
}

Loading…
Cancel
Save