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

Method MakeImageRangeGen

layers/sync/sync_image.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65ImageRangeGen ImageSubState::MakeImageRangeGen(const VkImageSubresourceRange& subresource_range, bool is_depth_sliced) const {
66 if (!IsSimplyBound()) {
67 return ImageRangeGen(); // default range generators have an empty position (generator "end")
68 }
69
70 const auto base_address = GetResourceBaseAddress();
71 ImageRangeGen range_gen(fragment_encoder, subresource_range, base_address, is_depth_sliced);
72 return range_gen;
73}
74
75ImageRangeGen ImageSubState::MakeImageRangeGen(const VkImageSubresourceRange& subresource_range, bool is_depth_sliced,
76 uint32_t view_mask) const {

Callers 15

GetRangeGenMethod · 0.80
DetectHazardMethod · 0.80
DetectVideoHazardMethod · 0.80
ApplyMultipleBarriersMethod · 0.80
ReplayRecordMethod · 0.80
UpdateImageAccessStateFunction · 0.80
UpdateVideoAccessStateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected