Skip to content

Commit

Permalink
Avoid warning: Descriptor type 1000138000 not handled (#1975)
Browse files Browse the repository at this point in the history
- that's VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK and we do handle it
  • Loading branch information
fabian-lunarg authored Jan 21, 2025
1 parent c0ffdaa commit 0947e8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion framework/encode/vulkan_state_tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2299,12 +2299,17 @@ void VulkanStateTracker::DestroyState(vulkan_wrappers::DescriptorSetWrapper* wra
}
break;

case VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK:
// nothing to do, only sanity-check
GFXRECON_ASSERT(binding.count);
GFXRECON_ASSERT(binding.inline_uniform_block);
break;

default:
GFXRECON_LOG_WARNING("%s() Descriptor type %u not handled", __func__, binding.type);
break;
}
}

wrapper->bindings.clear();
}

Expand Down

0 comments on commit 0947e8d

Please sign in to comment.