Jelajahi Sumber

shader_ir: Add missing entry to Sampler operand< comparison

ReinUsesLisp 7 tahun lalu
induk
melakukan
b77b4b76bb
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      src/video_core/shader/shader_ir.h

+ 3 - 2
src/video_core/shader/shader_ir.h

@@ -251,8 +251,9 @@ public:
     }
     }
 
 
     bool operator<(const Sampler& rhs) const {
     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:
 private: