소스 검색

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

ReinUsesLisp 7 년 전
부모
커밋
2156e52014
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/video_core/shader/shader_ir.h

+ 2 - 2
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);
     }