Skip to content

Commit

Permalink
Newer vku (#8)
Browse files Browse the repository at this point in the history
* Use newer vku.

* Use newer vku.
  • Loading branch information
stripe2933 authored Aug 24, 2024
1 parent 22c433e commit 0bdc695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions interface/vulkan/Frame.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,9 @@ namespace vk_deferred::vulkan {

// Update per-frame descriptors.
gpu.device.updateDescriptorSets({
gBufferInputDescriptorSet.getWrite<0>(vku::unsafeProxy({
vk::DescriptorImageInfo { {}, *gbufferAttachmentGroup.colorAttachments[0].view, vk::ImageLayout::eShaderReadOnlyOptimal },
})),
gBufferInputDescriptorSet.getWrite<1>(vku::unsafeProxy({
vk::DescriptorImageInfo { {}, *gbufferAttachmentGroup.colorAttachments[1].view, vk::ImageLayout::eShaderReadOnlyOptimal },
})),
hdrImageDescriptorSet.getWrite<0>(vku::unsafeProxy({
vk::DescriptorImageInfo { {}, *deferredLightingAttachmentGroup.colorAttachments[0].view, vk::ImageLayout::eShaderReadOnlyOptimal },
})),
gBufferInputDescriptorSet.getWriteOne<0>({ {}, *gbufferAttachmentGroup.colorAttachments[0].view, vk::ImageLayout::eShaderReadOnlyOptimal }),
gBufferInputDescriptorSet.getWriteOne<1>({ {}, *gbufferAttachmentGroup.colorAttachments[1].view, vk::ImageLayout::eShaderReadOnlyOptimal }),
hdrImageDescriptorSet.getWriteOne<0>({ {}, *deferredLightingAttachmentGroup.colorAttachments[0].view, vk::ImageLayout::eShaderReadOnlyOptimal }),
}, {});

// Initialize attachment layouts.
Expand Down
4 changes: 2 additions & 2 deletions overlays/vku/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stripe2933/vku
REF v0.1.0-test22
SHA512 e090d7a4995a4e740272352f24d92b86344a94d1fa65f0697a097f43911490bf4ef3d8416af5904a80a2a276ce4429635679c6db71945c4656538098e132de0a
REF v0.1.0-test24
SHA512 be6f63d6274da7be153107e1eca44a684a341629d99808ab48da7bf7d2845cc8d39580b1048dcd6728b1f984a1597085d56a059a779afd7c7be0d88eaa65f44f
HEAD_REF module
PATCHES vcpkg-deps.patch
)
Expand Down

0 comments on commit 0bdc695

Please sign in to comment.