Turn off boundSecondaryIsInputAttachment_ when we don't have one.

This commit is contained in:
Henrik Rydgård 2022-11-07 09:30:47 +01:00
parent 668904a515
commit ad14d628b6

View file

@ -381,6 +381,7 @@ void DrawEngineVulkan::BindShaderBlendTex() {
boundSecondaryIsInputAttachment_ = true;
fboTexBindState_ = FBO_TEX_NONE;
} else {
boundSecondaryIsInputAttachment_ = false;
boundSecondary_ = VK_NULL_HANDLE;
}
}