mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-05-10 11:11:40 +00:00
feat(bindless): Update image layer count
This commit is contained in:
parent
08452e9771
commit
63249dde7a
4 changed files with 4 additions and 4 deletions
|
|
@ -548,7 +548,7 @@ namespace {
|
|||
| ImageFlag::ExternalOutput
|
||||
| ImageFlag::HdrVariant,
|
||||
.extentOp = extent,
|
||||
.count = 2 // FIXME: Count should be 1.
|
||||
.count = 1
|
||||
});
|
||||
|
||||
s.appendPass({
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ int benchmark::run(const Options& opts) {
|
|||
extent,
|
||||
VK_FORMAT_R8G8B8A8_UNORM,
|
||||
VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT,
|
||||
fds.destinationFd, std::nullopt, 2 // FIXME: Should be 1
|
||||
fds.destinationFd
|
||||
};
|
||||
const vk::TimelineSemaphore sync{vk,
|
||||
0,
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ int debug::run(const Options& opts) {
|
|||
extent,
|
||||
VK_FORMAT_R8G8B8A8_UNORM,
|
||||
VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT,
|
||||
fds.destinationFd, std::nullopt, 2 // FIXME: Should be 1
|
||||
fds.destinationFd
|
||||
};
|
||||
const vk::TimelineSemaphore sync{vk,
|
||||
0,
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ Swapchain::Swapchain(const vk::Vulkan& vk, lsfgvk::Instance& backend,
|
|||
this->destinationImage.emplace(vk,
|
||||
extent, VK_FORMAT_R8G8B8A8_UNORM,
|
||||
VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT,
|
||||
exportedFds.destinationFd, std::nullopt, 2); // FIXME: Should be 1
|
||||
exportedFds.destinationFd);
|
||||
this->syncSemaphore.emplace(vk, 0, exportedFds.syncFd);
|
||||
|
||||
this->renderCommandBuffer.emplace(vk);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue