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

Method GetReadBarriers

layers/sync/sync_access_state.cpp:962–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962VkPipelineStageFlags2 AccessState::GetReadBarriers(SyncAccessIndex access_index) const {
963 for (const auto& read_access : GetReads()) {
964 if (read_access.access_index == access_index) {
965 return read_access.barriers;
966 }
967 }
968 return VK_PIPELINE_STAGE_2_NONE;
969}
970
971void AccessState::SetQueueId(QueueId id) {
972 for (auto& read_access : GetReads()) {

Callers 2

GetAccessPropertiesFunction · 0.80
FormatErrorMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected