Renderer: Move depth state to VideoCommon and seperate from bpmem
This commit is contained in:
1 parent
4d36f0cc87
commit
2869c570f1
20 files changed
+80
-104
No files matched your search
@@ -4,6 +4,13 @@
|
||||
|
||||
#include "VideoCommon/RenderState.h"
|
||||
|
||||
void DepthState::Generate(const BPMemory& bp)
|
||||
{
|
||||
testenable = bp.zmode.testenable.Value();
|
||||
updateenable = bp.zmode.updateenable.Value();
|
||||
func = bp.zmode.func.Value();
|
||||
}
|
||||
|
||||
// If the framebuffer format has no alpha channel, it is assumed to
|
||||
// ONE on blending. As the backends may emulate this framebuffer
|
||||
// configuration with an alpha channel, we just drop all references
|
||||
|
||||
Reference in new issue
Block a user