mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
D3D11: Implement zcomploc for hardware supporting D3D 11.0.
This commit is contained in:
@ -805,6 +805,7 @@ union PE_CONTROL
|
||||
u32 unused : 17;
|
||||
u32 rid : 8;
|
||||
};
|
||||
|
||||
u32 hex;
|
||||
};
|
||||
|
||||
@ -1005,6 +1006,9 @@ struct BPMemory
|
||||
TevKSel tevksel[8];//0xf6,0xf7,f8,f9,fa,fb,fc,fd
|
||||
u32 bpMask; //0xFE
|
||||
u32 unknown18; //ff
|
||||
|
||||
bool UseEarlyDepthTest() const { return zcontrol.early_ztest && zmode.testenable; }
|
||||
bool UseLateDepthTest() const { return !zcontrol.early_ztest && zmode.testenable; }
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
Reference in New Issue
Block a user