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:
hyde zhou
2023-03-09 17:57:05 +08:00
committed by GitHub
parent 6a0fe8056f
commit 6ed4719968
42 changed files with 3240 additions and 1110 deletions
@@ -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;
}
}