summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-04-26 01:11:24 -0300
committerGravatar ReinUsesLisp2019-04-26 01:11:24 -0300
commitb77b4b76bb41eb4824a3af0ccd118f29e4dd47a9 (patch)
treec252d7ff173840a4cbbd2efa5d2eb8b51284d9a3 /src
parentshader_ir/texture: Fix sampler const buffer key shift (diff)
downloadyuzu-b77b4b76bb41eb4824a3af0ccd118f29e4dd47a9.tar.gz
yuzu-b77b4b76bb41eb4824a3af0ccd118f29e4dd47a9.tar.xz
yuzu-b77b4b76bb41eb4824a3af0ccd118f29e4dd47a9.zip
shader_ir: Add missing entry to Sampler operand< comparison
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/shader_ir.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 81278fb33..026181cae 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -251,8 +251,9 @@ public:
251 } 251 }
252 252
253 bool operator<(const Sampler& rhs) const { 253 bool operator<(const Sampler& rhs) const {
254 return std::tie(offset, index, type, is_array, is_shadow) < 254 return std::tie(offset, index, type, is_array, is_shadow, is_bindless) <
255 std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_array, rhs.is_shadow); 255 std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_array, rhs.is_shadow,
256 rhs.is_bindless);
256 } 257 }
257 258
258private: 259private: