mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Vulkan: When deriving stencilref from color, don't forget to update the value.
Plus minor cleanups.
This commit is contained in:
1 parent
ac78b908d3
commit
232e30f4db
4 files changed
+4
-4
No files matched your search
@@ -997,6 +997,8 @@ void DrawEngineVulkan::DoFlush() {
|
||||
}
|
||||
lastPipeline_ = pipeline;
|
||||
}
|
||||
if (result.setStencil)
|
||||
dynState_.stencilRef = result.stencilValue;
|
||||
ApplyDrawStateLate(renderManager, false, 0, pipeline->useBlendConstant);
|
||||
gstate_c.Clean(DIRTY_BLEND_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_RASTER_STATE | DIRTY_VIEWPORTSCISSOR_STATE);
|
||||
lastPipeline_ = pipeline;
|
||||
|
||||
Reference in new issue
Block a user