mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-07 03:52:41 +08:00
pipeline update (#14486)
* adding queue phase * adding per phase descriptor set * adding render phase descriptor set * Optimize memory usage and rendering time of WebPipeline (#106) * Pass ubo execution optimization (#107) * adding compute shader * add compute shader * add compute dispatch * add compute shader * adding subpass * add dummy web subpass builder * remove present pass * remove present pass * adding subpass to RenderGraph * fix unit test * lint fix * fix lint * adding raster subpass * native subpass builder added * Complete render phase to layoutgraph (#108) * rename RasterTag to RasterPassTag * rename ComputePass to Compute * subpassGraph added * add shading rate attachment * fix typo * RenderSwapchain default constructible * Optimize Execution Memory (#110) * add storage buffer/texture support * add storage buffer and shading rate texture * fix lint * fix typo * V3.7.2 pipeline (#109) * fix merge conflict --------- Co-authored-by: GengineJS <476393671@qq.com> Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
This commit is contained in:
@@ -237,9 +237,9 @@ void ResourceGraph::unmount(uint64_t completedFenceValue) {
|
||||
if (texture.texture && texture.fenceValue <= completedFenceValue) {
|
||||
invalidatePersistentRenderPassAndFramebuffer(texture.texture.get());
|
||||
texture.texture.reset();
|
||||
const auto& traits = get(ResourceGraph::Traits, resg, vertID);
|
||||
const auto& traits = get(ResourceGraph::TraitsTag{}, resg, vertID);
|
||||
if (traits.hasSideEffects()) {
|
||||
auto& states = get(ResourceGraph::States, resg, vertID);
|
||||
auto& states = get(ResourceGraph::StatesTag{}, resg, vertID);
|
||||
states.states = cc::gfx::AccessFlagBit::NONE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user