mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 05:08:31 +09:00
[Chore] (MG_Backend/DirectVulkan): move ClearAttachmentsOnActiveRenderPass to VulkanRenderer
This commit is contained in:
@@ -302,13 +302,6 @@ namespace MobileGL::MG_Backend::DirectVulkan {
|
||||
Bool VkRenderPassManager::TryClearPendingAttachmentsOnActiveRenderPass(
|
||||
VkCommandBuffer commandBuffer,
|
||||
const RenderPassEntry& compatibleRenderPassEntry) {
|
||||
if (!s_activeRenderPass || !s_clearManager) {
|
||||
return false;
|
||||
}
|
||||
if (s_activeRenderPass->compatibilityHash != compatibleRenderPassEntry.compatibilityHash) {
|
||||
return false;
|
||||
}
|
||||
|
||||
VkClearRect clearRect{};
|
||||
clearRect.rect.offset = {0, 0};
|
||||
clearRect.rect.extent = {
|
||||
|
||||
Reference in New Issue
Block a user