mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +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;
|
||||
|
||||
@@ -362,7 +362,6 @@ void FramebufferManagerVulkan::BindPostShader(const PostShaderUniforms &uniforms
|
||||
}
|
||||
|
||||
postShaderUniforms_ = uniforms;
|
||||
// VulkanRenderManager *renderManager = (VulkanRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
cur2DPipeline_ = pipelinePostShader_;
|
||||
|
||||
gstate_c.Dirty(DIRTY_VERTEXSHADER_STATE);
|
||||
|
||||
@@ -88,7 +88,8 @@ const char *GetFn(const char *fn);
|
||||
OutputDebugStringUTF8(temp); \
|
||||
} \
|
||||
} while (false)
|
||||
#define DUMPLOG(x) OutputDebugStringUTF8(x);
|
||||
|
||||
#define DUMPLOG(x) OutputDebugStringUTF8(x)
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define DLOG(...) XLOG_IMPL("D", __VA_ARGS__)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
// Debug help: adb logcat -s DEBUG PPSSPPNativeActivity PPSSPP
|
||||
|
||||
// TODO: This is only enough for 4x render resolution / 4x texture upscale for debugger.
|
||||
// Maybe we should use a dynamically allocated one for larger?
|
||||
void VulkanQueueRunner::CreateDeviceObjects() {
|
||||
ILOG("VulkanQueueRunner::CreateDeviceObjects");
|
||||
InitBackbufferRenderPass();
|
||||
|
||||
Reference in new issue
Block a user