VulkanDevice: Use vkCmdClearAttachments() to avoid render pass restart

This commit is contained in:
Stenzek
2024-04-01 18:01:17 +10:00
parent 5ec1331831
commit 41cc60e87e
4 changed files with 46 additions and 9 deletions

View File

@ -348,7 +348,7 @@ private:
/// Set dirty flags on everything to force re-bind at next draw time.
void InvalidateCachedState();
bool IsRenderTargetBound(const GPUTexture* tex) const;
s32 IsRenderTargetBoundIndex(const GPUTexture* tex) const;
/// Applies any changed state.
VkPipelineLayout GetCurrentVkPipelineLayout() const;