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

Method IsWriteHazard

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

Source from the content-addressed store, hash-verified

1171}
1172
1173bool WriteState::IsWriteHazard(const SyncAccessInfo& usage_info) const { return !barriers[usage_info.access_index]; }
1174
1175bool WriteState::IsOrdered(const OrderingBarrier& ordering, QueueId queue_id) const {
1176 return (queue == queue_id) && ordering.access_scope[access_index];

Callers 2

DetectHazardMethod · 0.80
IsRAWHazardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected