mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
softgpu: Cache minz/maxz in draw pixel state.
This commit is contained in:
1 parent
0b3f096c01
commit
f1ce2e7715
6 files changed
+48
-39
No files matched your search
@@ -199,6 +199,8 @@ void ComputePixelFuncID(PixelFuncID *id) {
|
||||
if (id->applyFog) {
|
||||
id->cached.fogColor = gstate.fogcolor & 0x00FFFFFF;
|
||||
}
|
||||
id->cached.minz = gstate.getDepthRangeMin();
|
||||
id->cached.maxz = gstate.getDepthRangeMax();
|
||||
id->cached.framebufStride = gstate.FrameBufStride();
|
||||
id->cached.depthbufStride = gstate.DepthBufStride();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user