diff options
| author | 2019-04-26 01:13:05 -0300 | |
|---|---|---|
| committer | 2019-04-26 01:13:05 -0300 | |
| commit | 2156e520149d17ae22e9e52f864231a093e5da34 (patch) | |
| tree | b160ad62a2343b876b389d70c31e018f5800d0a1 /src | |
| parent | shader_ir: Add missing entry to Sampler operand< comparison (diff) | |
| download | yuzu-2156e520149d17ae22e9e52f864231a093e5da34.tar.gz yuzu-2156e520149d17ae22e9e52f864231a093e5da34.tar.xz yuzu-2156e520149d17ae22e9e52f864231a093e5da34.zip | |
shader_ir: Move Sampler index entry in operand< to sort declarations
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
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: | |||
| 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, is_bindless) < | 254 | return std::tie(index, offset, 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.index, rhs.offset, rhs.type, rhs.is_array, rhs.is_shadow, |
| 256 | rhs.is_bindless); | 256 | rhs.is_bindless); |
| 257 | } | 257 | } |
| 258 | 258 | ||