1
0
Fork 0
forked from suyu/suyu

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

View file

@ -314,8 +314,18 @@ enum class TextureMiscMode : u64 {
PTP, PTP,
}; };
enum class IpaInterpMode : u64 { Linear = 0, Perspective = 1, Flat = 2, Sc = 3 }; enum class IpaInterpMode : u64 {
enum class IpaSampleMode : u64 { Default = 0, Centroid = 1, Offset = 2 }; Linear = 0,
Perspective = 1,
Flat = 2,
Sc = 3,
};
enum class IpaSampleMode : u64 {
Default = 0,
Centroid = 1,
Offset = 2,
};
struct IpaMode { struct IpaMode {
IpaInterpMode interpolation_mode; IpaInterpMode interpolation_mode;