From a5e796812a01dcbc03056e8325290793318f67a0 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Wed, 18 Dec 2024 14:00:59 -0800 Subject: [PATCH] igl | vulkan | Reenable debug assert Reviewed By: tgoulart, mmaurer Differential Revision: D67365889 fbshipit-source-id: ae507ad81e1c269041f431419ce210bb7e06dcdf --- src/igl/vulkan/ResourcesBinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/igl/vulkan/ResourcesBinder.cpp b/src/igl/vulkan/ResourcesBinder.cpp index 86e6197801..53c2b4fe79 100644 --- a/src/igl/vulkan/ResourcesBinder.cpp +++ b/src/igl/vulkan/ResourcesBinder.cpp @@ -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); }