yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

shader_bytecode: Lay out the Ipa-related enums better

This is more consistent with the surrounding enums.
This commit is contained in:
Lioncash 2018-09-21 16:15:29 -04:00
parent 272517cf7e
commit a8f5fd787f
1 changed files with 12 additions and 2 deletions

View File

@ -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;