Skip to content

Commit

Permalink
igl | vulkan | Reenable debug assert
Browse files Browse the repository at this point in the history
Reviewed By: tgoulart, mmaurer

Differential Revision: D67365889

fbshipit-source-id: ae507ad81e1c269041f431419ce210bb7e06dcdf
  • Loading branch information
corporateshark authored and facebook-github-bot committed Dec 18, 2024
1 parent 56aef99 commit a5e7968
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 @@ -126,7 +126,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_DEBUG_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
IGL_DEBUG_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
} else {
IGL_DEBUG_ASSERT(img.imageLayout_ == VK_IMAGE_LAYOUT_GENERAL);
}
Expand Down

0 comments on commit a5e7968

Please sign in to comment.