MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / IsSimplyBound

Method IsSimplyBound

layers/sync/sync_image.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24void ImageSubState::SetSwapchain(vvl::Swapchain& swapchain) { SetOpaqueBaseAddress(swapchain.dev_data); }
25
26bool ImageSubState::IsSimplyBound() const {
27 bool simple = SimpleBinding(base) || base.IsSwapchainImage() || base.bind_swapchain;
28 return simple;
29}
30
31void ImageSubState::SetOpaqueBaseAddress(vvl::DeviceState& dev_data) {
32 // This is safe to call if already called to simplify caller logic

Callers

nothing calls this directly

Calls 2

SimpleBindingFunction · 0.85
IsSwapchainImageMethod · 0.80

Tested by

no test coverage detected