Skip to content

Commit

Permalink
vk: remove incorrect assert
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng committed Oct 28, 2024
1 parent 9e1ee2f commit 66abb75
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions filament/backend/src/vulkan/VulkanDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,6 @@ void VulkanDriver::beginRenderPass(Handle<HwRenderTarget> rth, const RenderPassP
rpkey.colorFormat[i] = info.getFormat();
if (rpkey.samples > 1) {
const VulkanTexture* sidecar = info.texture->getSidecar();
assert_invariant(sidecar);
assert_invariant(sidecar->samples > 1);
if (sidecar && sidecar->isTransientAttachment()) {
rpkey.usesLazilyAllocatedMemory |= (1 << i);
}
Expand Down

0 comments on commit 66abb75

Please sign in to comment.