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

Method HasBarrier

layers/sync/sync_op.cpp:1385–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1383}
1384
1385bool SyncEventState::HasBarrier(VkPipelineStageFlags2 stageMask, VkPipelineStageFlags2 exec_scope_arg) const {
1386 return (last_command == vvl::Func::Empty) || (stageMask & VK_PIPELINE_STAGE_ALL_COMMANDS_BIT) || (barriers & exec_scope_arg) ||
1387 (barriers & VK_PIPELINE_STAGE_ALL_COMMANDS_BIT);
1388}
1389
1390void SyncEventState::AddReferencedTags(ResourceUsageTagSet& referenced) const {
1391 if (first_scope) {

Callers 2

DoValidateMethod · 0.80
DoRecordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected