summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-26 01:13:05 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-04-26 01:13:05 -0300
commit2156e520149d17ae22e9e52f864231a093e5da34 (patch)
treeb160ad62a2343b876b389d70c31e018f5800d0a1 /src
parentb77b4b76bb41eb4824a3af0ccd118f29e4dd47a9 (diff)
shader_ir: Move Sampler index entry in operand< to sort declarations
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/shader_ir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 026181cae..65f1e1de9 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/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);
}