diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index afb59e2..0e23e80 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,7 +26,7 @@ jobs: - name: Setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: 'd15470bb6464a3bb0ce3d98d118190cfd5189080' + vcpkgGitCommitId: 'f740d6f22908ccd8a519228a26b267f7a68dda9c' setupOnly: true - name: Install dependencies from vcpkg @@ -67,13 +67,13 @@ jobs: if: runner.os == 'Linux' && matrix.os[2] == 'clang' shell: bash working-directory: ${{runner.workspace}}/build-${{ matrix.buildType }} - run: echo "CC=clang-12" >> $GITHUB_ENV + run: echo "CC=clang-14" >> $GITHUB_ENV - name: Configure Clang++ version (Linux) if: runner.os == 'Linux' && matrix.os[2] == 'clang' shell: bash working-directory: ${{runner.workspace}}/build-${{ matrix.buildType }} - run: echo "CXX=clang++-12" >> $GITHUB_ENV + run: echo "CXX=clang++-14" >> $GITHUB_ENV - name: Configure CMake shell: bash diff --git a/source/RenderGraph/FrameGraph.natvis b/source/RenderGraph/FrameGraph.natvis index e75094c..f8fd5be 100644 --- a/source/RenderGraph/FrameGraph.natvis +++ b/source/RenderGraph/FrameGraph.natvis @@ -185,13 +185,7 @@ m_graph m_callbacks m_ruConfig - m_commandPool - m_commandBuffers - m_semaphore - m_fence m_timer - m_layoutTransitions - m_accessTransitions m_passContexts diff --git a/source/RenderGraph/RunnableGraph.cpp b/source/RenderGraph/RunnableGraph.cpp index bc49b6f..67af1a4 100644 --- a/source/RenderGraph/RunnableGraph.cpp +++ b/source/RenderGraph/RunnableGraph.cpp @@ -313,7 +313,7 @@ namespace crg if ( nextPass != m_passes.end() ) { - if ( pass->isEnabled() ) + if ( ( *nextPass )->isEnabled() ) { recordContext.setNextPipelineState( ( *nextPass )->getPipelineState() , rungrf::gatherNextImageLayouts( pass->getImageLayouts() diff --git a/source/RenderGraph/RunnablePasses/RenderPassHolder.cpp b/source/RenderGraph/RunnablePasses/RenderPassHolder.cpp index 6475aff..703998f 100644 --- a/source/RenderGraph/RunnablePasses/RenderPassHolder.cpp +++ b/source/RenderGraph/RunnablePasses/RenderPassHolder.cpp @@ -95,7 +95,9 @@ namespace crg , attaches.end() , [&context]( RenderPassHolder::Entry const & lookup ) { - return context.getLayoutState( lookup.view ) != lookup.input; + auto layout = context.getLayoutState( lookup.view ); + return layout.layout != VK_IMAGE_LAYOUT_UNDEFINED + && layout != lookup.input; } ); return it == attaches.end(); }