diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-21 22:15:29 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-21 22:17:31 +0200 |
commit | a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3 (patch) | |
tree | 1e59c867bbdf1db8b0c6b94bd9c31acd6ac21d22 | |
parent | shader_bytecode: Make operator== and operator!= of IpaMode const qualified (diff) | |
download | yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar.gz yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar.bz2 yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar.lz yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar.xz yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.tar.zst yuzu-a8f5fd787fa6b7d2c120bf9b7fbfa840738db1a3.zip |
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index acd6f5b21..b1f137b9c 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -314,8 +314,18 @@ enum class TextureMiscMode : u64 { PTP, }; -enum class IpaInterpMode : u64 { Linear = 0, Perspective = 1, Flat = 2, Sc = 3 }; -enum class IpaSampleMode : u64 { Default = 0, Centroid = 1, Offset = 2 }; +enum class IpaInterpMode : u64 { + Linear = 0, + Perspective = 1, + Flat = 2, + Sc = 3, +}; + +enum class IpaSampleMode : u64 { + Default = 0, + Centroid = 1, + Offset = 2, +}; struct IpaMode { IpaInterpMode interpolation_mode; |