Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation).

This commit is contained in:
Henrik Rydgård committed 2022-08-03 13:31:13 +02:00
1 parent d4d92e39ff
commit 9bead443c3
20 files changed
+287 -792

No files matched your search

+4
View File
@@ -2488,6 +2488,10 @@ void FramebufferManagerCommon::DeviceLost() {
DoRelease(reinterpretVBuf_);
DoRelease(reinterpretSampler_);
DoRelease(reinterpretVS_);
DoRelease(stencilUploadFs_);
DoRelease(stencilUploadVs_);
DoRelease(stencilUploadSampler_);
DoRelease(stencilUploadPipeline_);
presentation_->DeviceLost();
draw_ = nullptr;
}