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

Method AddRecordedAccess

layers/sync/sync_access_state.cpp:584–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void HazardResult::AddRecordedAccess(const FirstAccess& first_access) {
585 assert(state_.has_value());
586 state_->recorded_access = std::make_unique<const FirstAccess>(first_access);
587}
588bool HazardResult::IsWAWHazard() const {
589 assert(state_.has_value());
590 assert(state_->prior_access_index != SYNC_ACCESS_INDEX_NONE);

Callers 2

DetectHazardMethod · 0.80
DetectAsyncHazardMethod · 0.80

Calls 1

has_valueMethod · 0.80

Tested by

no test coverage detected