Add log functions to state structs

This commit is contained in:
Henrik Rydgård committed 2022-09-04 00:10:55 +02:00
1 parent d35749bfc8
commit ceda7aef49
3 files changed
+14 -1

No files matched your search

+2 -1
View File
@@ -364,7 +364,8 @@ void DrawEngineVulkan::BindShaderBlendTex() {
// Set the nearest/linear here (since we correctly know if alpha/color tests are needed)?
if (!gstate.isModeClear()) {
if (fboTexNeedsBind_) {
framebufferManager_->BindFramebufferAsColorTexture(1, framebufferManager_->GetCurrentRenderVFB(), BINDFBCOLOR_MAY_COPY);
bool bindResult = framebufferManager_->BindFramebufferAsColorTexture(1, framebufferManager_->GetCurrentRenderVFB(), BINDFBCOLOR_MAY_COPY);
_dbg_assert_(bindResult);
boundSecondary_ = (VkImageView)draw_->GetNativeObject(Draw::NativeObject::BOUND_TEXTURE1_IMAGEVIEW);
fboTexBound_ = true;
fboTexNeedsBind_ = false;