Skip to content

Commit

Permalink
igl | Comment assert
Browse files Browse the repository at this point in the history
Summary: This assert is hit when using in a project a Delay frame in Ar simulator

Reviewed By: EricGriffith

Differential Revision: D52368857

fbshipit-source-id: defac48bb3e97448b2299eb2bca3d8163780b0d1
  • Loading branch information
surffer3d authored and facebook-github-bot committed Dec 21, 2023
1 parent ff25c3e commit d5255d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/igl/vulkan/ResourcesBinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void ResourcesBinder::bindTexture(uint32_t index, igl::vulkan::Texture* tex) {
// that was not rendered to by IGL. If that's the case, then make sure
// the underlying image is transitioned to
// VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
IGL_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
// IGL_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
} else {
IGL_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_GENERAL);
}
Expand Down

0 comments on commit d5255d0

Please sign in to comment.