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
|
@ -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;
|
||||||
|
|
Reference in New Issue