diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-20 23:09:21 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:49 +0100 |
commit | 15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71 (patch) | |
tree | a365dda91981122a62024f371f4f00d5b2035ad6 /src/video_core/engines/shader_bytecode.h | |
parent | shader_bytecode: Fixup encoding (diff) | |
download | yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar.gz yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar.bz2 yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar.lz yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar.xz yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.tar.zst yuzu-15a0e1481d9a1efb3e3aa61cbaf2fa1ba0392d71.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index e62b66acd..b1e0d763e 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -397,6 +397,10 @@ struct IpaMode { bool operator!=(const IpaMode& a) const { return !operator==(a); } + bool operator<(const IpaMode& a) const { + return std::tie(interpolation_mode, sampling_mode) < + std::tie(a.interpolation_mode, a.sampling_mode); + } }; enum class SystemVariable : u64 { |