[pipeline] update custom pipeline (#13580)

This commit is contained in:
hyde zhou
2022-12-01 10:13:02 +08:00
committed by GitHub
parent 73a55c71e8
commit 9f145fffb7
17 changed files with 899 additions and 129 deletions
+7
View File
@@ -772,6 +772,13 @@ class DeviceRenderPass {
let framebuffer: Framebuffer | null = null;
const colTextures: Texture[] = [];
let depTexture = this._framebuffer.depthStencilTexture;
for (const cv of this._rasterInfo.pass.computeViews) {
this._applyRenderLayout(cv);
}
// update the layout descriptorSet
if (this.renderLayout && this.renderLayout.descriptorSet) {
this.renderLayout.descriptorSet.update();
}
for (const [resName, rasterV] of this._rasterInfo.pass.rasterViews) {
const deviceTex = this.context.deviceTextures.get(resName)!;
const resGraph = this.context.resourceGraph;