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

Class SyncExecScope

layers/sync/sync_barrier.h:24–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace syncval {
23
24struct SyncExecScope {
25 // The xxxStageMask parameter passed by the caller
26 VkPipelineStageFlags2 stage_mask = VK_PIPELINE_STAGE_2_NONE;
27
28 // Stage mask with meta stages expanded, then extended with earlier/later stages.
29 // Used for execution dependency checks
30 VkPipelineStageFlags2 exec_scope = VK_PIPELINE_STAGE_2_NONE;
31
32 // All accesses supported by stage_mask.
33 // Used for pipeline barriers to intersect access masks
34 SyncAccessFlags stage_mask_accesses;
35
36 // All accesses supported by exec_scope.
37 // Used for semaphore wait/signal access scopes
38 SyncAccessFlags exec_scope_accesses;
39
40 static SyncExecScope MakeSrc(VkQueueFlags queue_flags, VkPipelineStageFlags2 src_stage_mask,
41 VkPipelineStageFlags2 disabled_feature_mask = 0);
42 static SyncExecScope MakeDst(VkQueueFlags queue_flags, VkPipelineStageFlags2 src_stage_mask);
43
44 bool operator==(const SyncExecScope& other) const;
45 size_t Hash() const;
46};
47
48struct SyncBarrier {
49 struct AllAccess {};

Callers 1

ResetFirstScopeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected