mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
shader_bytecode: Lay out the Ipa-related enums better
This is more consistent with the surrounding enums.
This commit is contained in:
parent
272517cf7e
commit
a8f5fd787f
1 changed files with 12 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue