From 0744a096445ca71ce63f409362082de00f51f238 Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Fri, 26 Jun 2026 11:19:15 +0800 Subject: [PATCH] fix(custom-pipeline): Creates a blit descriptor bug --- cocos/rendering/custom/executor.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cocos/rendering/custom/executor.ts b/cocos/rendering/custom/executor.ts index ffcbfd764f..1013e078e4 100644 --- a/cocos/rendering/custom/executor.ts +++ b/cocos/rendering/custom/executor.ts @@ -615,10 +615,17 @@ class DeviceRenderQueue implements RecordingInterface { this._devicePass = devicePass; this._phaseID = cclegacy.rendering.getPhaseID(devicePass.passID, context.renderGraph.getLayout(id)); } + + /** + * @en Creates a blit descriptor for the given blit operation. + * @zh 为给定的 blit 操作创建一个 blit 描述符。 + * @param blit @en The blit operation to create a descriptor for. @zh 要为其创建描述符的 blit 操作。 + */ createBlitDesc (blit: Blit): void { if (!this._blitDesc) { this._blitDesc = new BlitDesc(blit); } + this._blitDesc.blit = blit; this._blitDesc.createScreenQuad(); this._blitDesc.createStageDescriptor(); }