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

Method Set

layers/sync/sync_access_state.cpp:1100–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098}
1099
1100void ReadState::Set(VkPipelineStageFlagBits2 stage, SyncAccessIndex access_index, const AttachmentAccess& attachment_access,
1101 ResourceUsageTagEx tag_ex) {
1102 assert(access_index != SYNC_ACCESS_INDEX_NONE);
1103 this->stage = stage;
1104 this->access_index = access_index;
1105 this->attachment_access = attachment_access;
1106 barriers = VK_PIPELINE_STAGE_2_NONE;
1107 sync_stages = VK_PIPELINE_STAGE_2_NONE;
1108 tag = tag_ex.tag;
1109 handle_index = tag_ex.handle_index;
1110 queue = kQueueIdInvalid;
1111}
1112
1113// Scope test including "queue submission order" effects. Specifically, accesses from a different queue are not
1114// considered to be in "queue submission order" with barriers, events, or semaphore signalling, but any barriers

Callers 2

UpdateMethod · 0.45
SetWriteMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected