diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e9b7656..7297aab 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -23,7 +23,7 @@ jobs: - name: Setup vcpkg uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: 'f740d6f22908ccd8a519228a26b267f7a68dda9c' + vcpkgGitCommitId: '7a57b42f959ad138a5283477fe2e6c97a7cb852f' - name: Install dependencies from vcpkg shell: bash run: | diff --git a/source/RenderGraph/FramePassDependenciesBuilder.cpp b/source/RenderGraph/FramePassDependenciesBuilder.cpp index 555a81a..e232e5c 100644 --- a/source/RenderGraph/FramePassDependenciesBuilder.cpp +++ b/source/RenderGraph/FramePassDependenciesBuilder.cpp @@ -157,12 +157,14 @@ namespace crg::builder static bool isInput( Attachment const & attach ) { return attach.isInput() - && ( attach.isStorageBuffer() || attach.isTransitionBuffer() ); + && ( attach.isStorageBuffer() || attach.isUniformBuffer() || attach.isTransitionBuffer() + || attach.isStorageBufferView() || attach.isUniformBufferView() || attach.isTransitionBufferView() ); } static bool isOutput( Attachment const & attach ) { - return attach.isOutput() && attach.isStorageBuffer(); + return attach.isOutput() + && ( attach.isStorageBuffer() || attach.isStorageBufferView() ); } }; @@ -605,7 +607,7 @@ namespace crg::builder static bool match( Buffer const & lhs, Buffer const & rhs ) { - return lhs.buffer() != rhs.buffer(); + return lhs.buffer() == rhs.buffer(); } static bool match( ImageViewId const & lhs, ImageViewId const & rhs )