Skip to content

Commit

Permalink
Remove unused code (#8043)
Browse files Browse the repository at this point in the history
  • Loading branch information
z3moon authored Aug 14, 2024
1 parent 44a954b commit 1c81702
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 1c81702

Please sign in to comment.