Initial port of zfreeze branch (3.5-1729)

Initial port of original zfreeze branch (3.5-1729) by neobrain into
most recent build of Dolphin.

Makes Rogue Squadron 2 very playable at full speed thanks to recent core
speedups made to Dolphin. Works on DirectX Video plugin only for now.

Enjoy!  and Merry Xmas!!
This commit is contained in:
NanoByte011
2014-12-25 00:34:22 -07:00
committed by Scott Mansell
parent 4984215971
commit 937844b9e3
12 changed files with 173 additions and 4 deletions

View File

@ -21,8 +21,9 @@
#define C_FOGCOLOR (C_INDTEXMTX + 6) //27
#define C_FOGI (C_FOGCOLOR + 1) //28
#define C_FOGF (C_FOGI + 1) //29
#define C_ZSLOPE (C_FOGF + 1) //30
#define C_PENVCONST_END (C_FOGF + 2)
#define C_PENVCONST_END (C_ZSLOPE + 2)
// Different ways to achieve rendering with destination alpha
enum DSTALPHA_MODE
@ -62,6 +63,7 @@ struct pixel_shader_uid_data
u32 forced_early_z : 1;
u32 early_ztest : 1;
u32 bounding_box : 1;
u32 zfreeze : 1;
u32 texMtxInfo_n_projection : 8; // 8x1 bit
u32 tevindref_bi0 : 3;