Skip to content

Commit

Permalink
igl | Temporarily disable recently added assert
Browse files Browse the repository at this point in the history
Summary: Commenting out the assert, until we fix usage with render passes.

Reviewed By: rokuz, corporateshark

Differential Revision: D63244069

fbshipit-source-id: dd4b6624ae927776232a076ee35f4afe99602a18
  • Loading branch information
surffer3d authored and facebook-github-bot committed Sep 23, 2024
1 parent 2090ab4 commit 5ac648c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/igl/vulkan/VulkanImmediateCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ void VulkanImmediateCommands::purge() {

const VulkanImmediateCommands::CommandBufferWrapper& VulkanImmediateCommands::acquire() {
IGL_PROFILER_FUNCTION();
IGL_ASSERT_MSG(nextSubmitHandle_.empty(),
"VulkanImmediateCommands::acquire() is not reentrant. You should submit() the "
"previous buffer before calling acquire() again.");
// IGL_ASSERT_MSG(nextSubmitHandle_.empty(),
// "VulkanImmediateCommands::acquire() is not reentrant. You should submit() the "
// "previous buffer before calling acquire() again.");

if (IGL_UNEXPECTED(!nextSubmitHandle_.empty())) {
// if (IGL_UNEXPECTED(!nextSubmitHandle_.empty())) {
if (!nextSubmitHandle_.empty()) {
IGL_LOG_ERROR(
"VulkanImmediateCommands::acquire() is not reentrant. You should submit() the "
"previous buffer before calling acquire() again.");
Expand Down

0 comments on commit 5ac648c

Please sign in to comment.