mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Add 1 when displaying the number of TEV stages
This commit is contained in:
parent
072304404c
commit
1d628d087b
@ -911,6 +911,8 @@ union GenMode
|
|||||||
BitField<7, 1, u32> unused; // 1 bit unused?
|
BitField<7, 1, u32> unused; // 1 bit unused?
|
||||||
BitField<8, 1, bool, u32> flat_shading; // unconfirmed
|
BitField<8, 1, bool, u32> flat_shading; // unconfirmed
|
||||||
BitField<9, 1, bool, u32> multisampling;
|
BitField<9, 1, bool, u32> multisampling;
|
||||||
|
// This value is 1 less than the actual number (0-15 map to 1-16).
|
||||||
|
// In other words there is always at least 1 tev stage
|
||||||
BitField<10, 4, u32> numtevstages;
|
BitField<10, 4, u32> numtevstages;
|
||||||
BitField<14, 2, CullMode> cullmode;
|
BitField<14, 2, CullMode> cullmode;
|
||||||
BitField<16, 3, u32> numindstages;
|
BitField<16, 3, u32> numindstages;
|
||||||
@ -937,7 +939,7 @@ struct fmt::formatter<GenMode>
|
|||||||
"ZFreeze: {}",
|
"ZFreeze: {}",
|
||||||
mode.numtexgens, mode.numcolchans, mode.unused,
|
mode.numtexgens, mode.numcolchans, mode.unused,
|
||||||
mode.flat_shading ? "Yes" : "No", mode.multisampling ? "Yes" : "No",
|
mode.flat_shading ? "Yes" : "No", mode.multisampling ? "Yes" : "No",
|
||||||
mode.numtevstages, mode.cullmode, mode.numindstages,
|
mode.numtevstages + 1, mode.cullmode, mode.numindstages,
|
||||||
mode.zfreeze ? "Yes" : "No");
|
mode.zfreeze ? "Yes" : "No");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user