Skip to content

Commit

Permalink
Merge branch 'main' into transient
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng authored Aug 14, 2024
2 parents 98b71b0 + 1c81702 commit ac6426c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions filament/src/PostProcessManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ PostProcessManager::StructurePassOutput PostProcessManager::structure(FrameGraph

struct StructureMipmapData {
FrameGraphId<FrameGraphTexture> depth;
uint32_t rt[8];
};

fg.addPass<StructureMipmapData>("StructureMipmap",
Expand All @@ -505,7 +504,7 @@ PostProcessManager::StructurePassOutput PostProcessManager::structure(FrameGraph
.level = uint8_t(i)
});
out = builder.write(out, FrameGraphTexture::Usage::DEPTH_ATTACHMENT);
data.rt[i - 1] = builder.declareRenderPass("Structure mip target", {
builder.declareRenderPass("Structure mip target", {
.attachments = { .depth = out }
});
}
Expand Down

0 comments on commit ac6426c

Please sign in to comment.